summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-01-15 23:20:24 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2024-01-17 04:34:21 +0100
commitae91ae43a51c58cc496f3947921fbf886c6be86e (patch)
tree36dd96310b3f26f94ae59f6e9736b38756193fcb /indra/llcommon
parent65b501c42973e3ffdbf37e70ed78243bab588039 (diff)
SL-20795 Part of previously typed emojis disappear in the 'Save settings as a preset...' option of the 'Preferences' floater
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llstring.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index 81b0207038..17d69351ec 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -339,8 +339,6 @@ S32 wchar_utf8_length(const llwchar wc)
{
if (wc < 0x80)
{
- // This case will also catch negative values which are
- // technically invalid.
return 1;
}
else if (wc < 0x800)