diff options
author | Kitty Barnett <develop@catznip.com> | 2012-05-31 17:37:19 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-05-31 17:37:19 +0200 |
commit | d7303541ccd4ea1420de4cd11ff824aeb171fae7 (patch) | |
tree | 119d71c4b04810e543073836d00b0097a9f58f82 /indra | |
parent | 76234b48256a93c6a0f9dd1d3807706b1039a181 (diff) |
STORM-276 FIXED Line editor misspells are checked every frame
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/lllineeditor.cpp | 2 |
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); |