STORM-276 FIXED Line editor misspells are checked every frame

master
Kitty Barnett 2012-05-31 17:37:19 +02:00
parent 76234b4825
commit d7303541cc
1 changed files with 1 additions and 1 deletions

View File

@ -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);