diff options
author | McCabe Maxsted | 2010-09-13 14:26:23 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-13 14:27:26 -0700 |
commit | d25448905ededfee2a8bcc88f9a4c76b14ddae33 (patch) | |
tree | 5f6e4ff33a5498266b296b87b7bbdf9be452f928 /linden | |
parent | Added the 'Add Friend' option to IMs and fixed the Group Profile button showi... (diff) | |
download | meta-impy-d25448905ededfee2a8bcc88f9a4c76b14ddae33.zip meta-impy-d25448905ededfee2a8bcc88f9a4c76b14ddae33.tar.gz meta-impy-d25448905ededfee2a8bcc88f9a4c76b14ddae33.tar.bz2 meta-impy-d25448905ededfee2a8bcc88f9a4c76b14ddae33.tar.xz |
Fixed Windows compile error in autocomplete
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llchatbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp index 88ef2b5..739c644 100644 --- a/linden/indra/newview/llchatbar.cpp +++ b/linden/indra/newview/llchatbar.cpp | |||
@@ -223,7 +223,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask ) | |||
223 | std::string right_part = ""; | 223 | std::string right_part = ""; |
224 | S32 cursorPos = mInputEditor->getCursor(); | 224 | S32 cursorPos = mInputEditor->getCursor(); |
225 | 225 | ||
226 | if (cursorPos < txt.length()) | 226 | if (cursorPos < (S32)txt.length()) |
227 | { | 227 | { |
228 | right_part = txt.substr(cursorPos); | 228 | right_part = txt.substr(cursorPos); |
229 | left_part = txt.substr(0, cursorPos); | 229 | left_part = txt.substr(0, cursorPos); |