summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-05-31 17:37:19 +0200
committerKitty Barnett <develop@catznip.com>2012-05-31 17:37:19 +0200
commitd7303541ccd4ea1420de4cd11ff824aeb171fae7 (patch)
tree119d71c4b04810e543073836d00b0097a9f58f82
parent76234b48256a93c6a0f9dd1d3807706b1039a181 (diff)
STORM-276 FIXED Line editor misspells are checked every frame
-rw-r--r--indra/llui/lllineeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index 352854c629..1e0b194e44 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -1883,7 +1883,7 @@ void LLLineEditor::draw()
// Calculate start and end indices for the first and last visible word
U32 start = prevWordPos(mScrollHPos), end = nextWordPos(mScrollHPos + rendered_text);
- if ( (mSpellCheckStart != start) || (mSpellCheckEnd = end) )
+ if ( (mSpellCheckStart != start) || (mSpellCheckEnd != end) )
{
const LLWString& text = mText.getWString().substr(start, end);