summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-05-31 20:47:14 +0200
committerKitty Barnett <develop@catznip.com>2012-05-31 20:47:14 +0200
commite2e33c0ed5f2acbbfe35c46b1298ed56eb9d1003 (patch)
treefd5dc8b0c675540dadb41d9fb9e94b722ab6041c /indra
parentd7303541ccd4ea1420de4cd11ff824aeb171fae7 (diff)
STORM-276 FIXED Last word in a line editor isn't spell checked
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/lllineeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index 1e0b194e44..ae1f7f2419 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -1905,7 +1905,7 @@ void LLLineEditor::draw()
{
word_end++;
}
- if (word_end >= text.length())
+ if (word_end > text.length())
break;
// Don't process words shorter than 3 characters