From 46ce6b78d479a0da264f933a694cb84b00a6c6c8 Mon Sep 17 00:00:00 2001 From: Patrick Sapinski Date: Tue, 24 Aug 2010 21:19:42 -0400 Subject: added autocorrect functionality and floater --- linden/indra/newview/chatbar_as_cmdline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/chatbar_as_cmdline.cpp') diff --git a/linden/indra/newview/chatbar_as_cmdline.cpp b/linden/indra/newview/chatbar_as_cmdline.cpp index 3e1d817..61e4ef4 100644 --- a/linden/indra/newview/chatbar_as_cmdline.cpp +++ b/linden/indra/newview/chatbar_as_cmdline.cpp @@ -72,7 +72,7 @@ #include "audioengine.h" #include "llviewerparcelmediaautoplay.h" #include "lloverlaybar.h" -//KOW #include "lggautocorrectfloater.h" +#include "lggautocorrectfloater.h" #include "lggautocorrect.h" //#define JC_PROFILE_GSAVED @@ -623,13 +623,13 @@ bool cmd_line_chat(std::string revised_text, EChatType type) cmdline_tp2name(name); } return false; - } /* + } else if(revised_text == "/ac") { lggAutoCorrectFloaterStart::show(TRUE,NULL); cmdline_printchat("Displaying AutoCorrection Floater."); return false; - } */ + } else if(command == *sEmeraldCmdLineAutocorrect) { if (revised_text.length() <= command.length() + 1) //KOW: verify that we have params -- cgit v1.1