diff options
author | Oz Linden <oz@lindenlab.com> | 2014-03-14 16:19:21 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-03-14 16:19:21 -0400 |
commit | 3ee3d4a8f4b74a5f0b75fa54cb8e1cef0b1ef28e (patch) | |
tree | 689dac0020610e4e6b6b438035af614666a1216f /indra/llui/lltextbase.cpp | |
parent | 06bdcef531c79db7f6901e2c5f5f63b2f75ad4e5 (diff) |
correct logging levels (ERR causes a crash), and a minor style fix
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rwxr-xr-x | indra/llui/lltextbase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 5ec4cf4fe5..bc11d59a65 100755 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -571,7 +571,8 @@ void LLTextBase::drawText() if ( (getSpellCheck()) && (getWText().length() > 2) ) { // Calculate start and end indices for the spell checking range - S32 start = line_start, end = getLineEnd(last_line); + S32 start = line_start; + S32 end = getLineEnd(last_line); if ( (mSpellCheckStart != start) || (mSpellCheckEnd != end) ) { |