summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-02-27 11:22:31 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-02-27 11:22:31 -0500
commitedf1a712a7ca8fd741514348e3304af6a766f4aa (patch)
tree0cecaa9b4be0958dc7ff126c30382da3781f1f60 /indra/llui/lltexteditor.cpp
parent01a94f9d8378bb1094f4272b37ed9b966703f0b6 (diff)
parentad32c066691152e6a23f025d6aa5ead0e91b7be9 (diff)
Merge branch 'release/luau-scripting' into luau-require-impl.
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 3d2a426913..ccd04f83e7 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -1504,7 +1504,8 @@ void LLTextEditor::cleanStringForPaste(LLWString & clean_string)
}
-void LLTextEditor::pasteTextWithLinebreaks(LLWString & clean_string)
+template <>
+void LLTextEditor::pasteTextWithLinebreaks<LLWString>(const LLWString & clean_string)
{
std::basic_string<llwchar>::size_type start = 0;
std::basic_string<llwchar>::size_type pos = clean_string.find('\n',start);