aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/lltexteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index a40fec8..62064d9 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -1009,7 +1009,7 @@ void LLTextEditor::indentSelectedLines( S32 spaces )
1009 } 1009 }
1010 else 1010 else
1011 { 1011 {
1012 while( (text[right] != '\n') && (right <= getLength() ) ) 1012 while( right < getLength() && (text[right] != '\n') )
1013 { 1013 {
1014 right++; 1014 right++;
1015 } 1015 }