aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-09-13 14:26:23 -0700
committerMcCabe Maxsted2010-09-13 14:27:26 -0700
commitd25448905ededfee2a8bcc88f9a4c76b14ddae33 (patch)
tree5f6e4ff33a5498266b296b87b7bbdf9be452f928 /linden/indra
parentAdded the 'Add Friend' option to IMs and fixed the Group Profile button showi... (diff)
downloadmeta-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/indra')
-rw-r--r--linden/indra/newview/llchatbar.cpp2
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);