storm-1738: fix dumb pre-checkin change

master
Oz Linden 2012-05-26 07:32:50 -04:00
parent 46efa1b0b6
commit 4fb29f36db
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}