summaryrefslogtreecommitdiff
path: root/indra/newview/llautoreplace.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-26 07:32:50 -0400
committerOz Linden <oz@lindenlab.com>2012-05-26 07:32:50 -0400
commit4fb29f36dbc1c1f89ceda914f93593d74e6edea7 (patch)
tree3b98abc9077457e4d68fcef6650ac30617c3570a /indra/newview/llautoreplace.cpp
parent46efa1b0b6c5d4eddfef2721085406c8776ff06d (diff)
storm-1738: fix dumb pre-checkin change
Diffstat (limited to 'indra/newview/llautoreplace.cpp')
-rw-r--r--indra/newview/llautoreplace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llautoreplace.cpp b/indra/newview/llautoreplace.cpp
index a4a08daf27..5a3689cee6 100644
--- a/indra/newview/llautoreplace.cpp
+++ b/indra/newview/llautoreplace.cpp
@@ -84,7 +84,7 @@ void LLAutoReplace::autoreplaceCallback(LLUIString& inputText, S32& cursorPos)
if (atSpace)
{
// replace the last word in the input
- LLWString strNew = utf8str_to_wstring(replWord);
+ LLWString strNew = utf8str_to_wstring(replacementWord);
LLWString strOld = utf8str_to_wstring(lastWord);
int size_change = strNew.size() - strOld.size();
@@ -95,7 +95,7 @@ void LLAutoReplace::autoreplaceCallback(LLUIString& inputText, S32& cursorPos)
else
{
// @TODO display replacement as tooltip?
- LL_DEBUGS("AutoReplace")<<"tooltip: '"<<lastWord<<"' -> '"<<replWord<<"'"<<LL_ENDL;
+ LL_DEBUGS("AutoReplace")<<"tooltip: '"<<lastWord<<"' -> '"<<replacementWord<<"'"<<LL_ENDL;
}
}
}