aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/chatbar_as_cmdline.cpp
diff options
context:
space:
mode:
authorPatrick Sapinski2010-08-24 21:19:42 -0400
committerMcCabe Maxsted2010-08-30 17:19:35 -0700
commit46ce6b78d479a0da264f933a694cb84b00a6c6c8 (patch)
treec5eb7724973f12f047847f243a18db6971c6d847 /linden/indra/newview/chatbar_as_cmdline.cpp
parentupdated chatbar command line and added the necessary settings and hooks to us... (diff)
downloadmeta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.zip
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.gz
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.bz2
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.xz
added autocorrect functionality and floater
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/chatbar_as_cmdline.cpp6
1 files changed, 3 insertions, 3 deletions
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 @@
72#include "audioengine.h" 72#include "audioengine.h"
73#include "llviewerparcelmediaautoplay.h" 73#include "llviewerparcelmediaautoplay.h"
74#include "lloverlaybar.h" 74#include "lloverlaybar.h"
75//KOW #include "lggautocorrectfloater.h" 75#include "lggautocorrectfloater.h"
76#include "lggautocorrect.h" 76#include "lggautocorrect.h"
77 77
78//#define JC_PROFILE_GSAVED 78//#define JC_PROFILE_GSAVED
@@ -623,13 +623,13 @@ bool cmd_line_chat(std::string revised_text, EChatType type)
623 cmdline_tp2name(name); 623 cmdline_tp2name(name);
624 } 624 }
625 return false; 625 return false;
626 } /* 626 }
627 else if(revised_text == "/ac") 627 else if(revised_text == "/ac")
628 { 628 {
629 lggAutoCorrectFloaterStart::show(TRUE,NULL); 629 lggAutoCorrectFloaterStart::show(TRUE,NULL);
630 cmdline_printchat("Displaying AutoCorrection Floater."); 630 cmdline_printchat("Displaying AutoCorrection Floater.");
631 return false; 631 return false;
632 } */ 632 }
633 else if(command == *sEmeraldCmdLineAutocorrect) 633 else if(command == *sEmeraldCmdLineAutocorrect)
634 { 634 {
635 if (revised_text.length() <= command.length() + 1) //KOW: verify that we have params 635 if (revised_text.length() <= command.length() + 1) //KOW: verify that we have params