aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lgghunspell_wrapper.cpp7
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml2
2 files changed, 3 insertions, 6 deletions
diff --git a/linden/indra/newview/lgghunspell_wrapper.cpp b/linden/indra/newview/lgghunspell_wrapper.cpp
index aa4507c..9548c4f 100644
--- a/linden/indra/newview/lgghunspell_wrapper.cpp
+++ b/linden/indra/newview/lgghunspell_wrapper.cpp
@@ -472,7 +472,7 @@ static char * languageCodesraw[]={
472lggHunSpell_Wrapper::lggHunSpell_Wrapper() 472lggHunSpell_Wrapper::lggHunSpell_Wrapper()
473{ 473{
474 //languageCodes(begin(languageCodesraw), end(languageCodesraw)); 474 //languageCodes(begin(languageCodesraw), end(languageCodesraw));
475 mSpellCheckHighlight = rebind_llcontrol<BOOL>("EmeraldSpellDisplay", &gSavedSettings, false); 475 mSpellCheckHighlight = rebind_llcontrol<BOOL>("EmeraldSpellDisplay", &gSavedSettings, true);
476} 476}
477 477
478lggHunSpell_Wrapper::~lggHunSpell_Wrapper() 478lggHunSpell_Wrapper::~lggHunSpell_Wrapper()
@@ -963,8 +963,5 @@ void lggHunSpell_Wrapper::editCustomButton()
963 963
964void lggHunSpell_Wrapper::setSpellCheckHighlight(BOOL highlight) 964void lggHunSpell_Wrapper::setSpellCheckHighlight(BOOL highlight)
965{ 965{
966 if (mSpellCheckHighlight) 966 gSavedSettings.setBOOL("EmeraldSpellDisplay", highlight);
967 {
968 *mSpellCheckHighlight = highlight;
969 }
970} 967}
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
index a0c9e28..c3ee726 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
@@ -139,7 +139,7 @@
139 name="EmeraldHelp_SpellCheck" tool_tip="Click here for help regarding the settings in this page." 139 name="EmeraldHelp_SpellCheck" tool_tip="Click here for help regarding the settings in this page."
140 right="490" width="18"/> 140 right="490" width="18"/>
141 <check_box bottom="-25" enabled="true" follows="left|top" font="SansSerifSmall" height="16" 141 <check_box bottom="-25" enabled="true" follows="left|top" font="SansSerifSmall" height="16"
142 label="Show misspelled words in red (requires restart)" left="12" mouse_opaque="true" name="EmeraldSpellDisplay" 142 label="Show misspelled words in red" left="12" mouse_opaque="true" name="EmeraldSpellDisplay"
143 control_name="EmeraldSpellDisplay" width="126"/> 143 control_name="EmeraldSpellDisplay" width="126"/>
144 <text bottom_delta="-30" follows="left|top" font="SansSerifSmall" height="16" left="12" 144 <text bottom_delta="-30" follows="left|top" font="SansSerifSmall" height="16" left="12"
145 name="EmSpell_txt1" width="512"> 145 name="EmSpell_txt1" width="512">