summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-04-22 23:22:09 -0700
committerMerov Linden <merov@lindenlab.com>2013-04-22 23:22:09 -0700
commit244734647c38f256ace2d64fde4d3149d37e0e25 (patch)
tree546632cef0b87ec329966adfe03e568b49877a21 /indra/llui/lltextbase.cpp
parent022dd124604c8a0a3d83b481d03a687556fcf2c4 (diff)
parent6ad4822a05fa2d0cb0a9ab616384b374dc877883 (diff)
Pull merge from lindenlab/viewer-chui
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-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;