summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychatbar.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-11 12:22:43 -0400
committerOz Linden <oz@lindenlab.com>2012-05-11 12:22:43 -0400
commit9bdb1d82f867147af44def8c1cca3dfb8259b99c (patch)
tree80dfa51fb1fd89e020d25ff88e7df5928e0e13bc /indra/newview/llnearbychatbar.cpp
parentd3ec35fc6c2b8b47336650fe0570995201854a78 (diff)
rename feature from "autocorrect" to "autoreplace", change names accordingly
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r--indra/newview/llnearbychatbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp
index 07516d4b4f..a3aeadbfb8 100644
--- a/indra/newview/llnearbychatbar.cpp
+++ b/indra/newview/llnearbychatbar.cpp
@@ -51,7 +51,7 @@
#include "lltranslate.h"
#include "llresizehandle.h"
-#include "llautocorrect.h"
+#include "llautoreplace.h"
S32 LLNearbyChatBar::sLastSpecialChatChannel = 0;
@@ -88,7 +88,7 @@ BOOL LLNearbyChatBar::postBuild()
{
mChatBox = getChild<LLLineEditor>("chat_box");
- mChatBox->setAutocorrectCallback(boost::bind(&AutoCorrect::autocorrectCallback, AutoCorrect::getInstance(), _1, _2));
+ mChatBox->setAutoreplaceCallback(boost::bind(&AutoReplace::autoreplaceCallback, AutoReplace::getInstance(), _1, _2));
mChatBox->setCommitCallback(boost::bind(&LLNearbyChatBar::onChatBoxCommit, this));
mChatBox->setKeystrokeCallback(&onChatBoxKeystroke, this);
mChatBox->setFocusLostCallback(boost::bind(&onChatBoxFocusLost, _1, this));