summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-04-12 20:27:28 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-04-12 20:27:28 +0300
commit3c2c897cac98e39dcc0447c2d7d458ba313a8cd6 (patch)
tree7ae3ab1164d745bbba335c4e9abcd71f0af414d4 /indra
parent33d6f8a5953a6860bf1233d4a715f16a5b627cc0 (diff)
CHUI-916 FIXED Clear mMisspellRanges if spell check is not needed.
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/lltextbase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index a815cfc176..def1277ba7 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -652,6 +652,10 @@ void LLTextBase::drawText()
mSpellCheckEnd = end;
}
}
+ else
+ {
+ mMisspellRanges.clear();
+ }
LLTextSegmentPtr cur_segment = *seg_iter;