STORM-276 FIXED Line editor misspells are checked every frame
parent
76234b4825
commit
d7303541cc
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue