aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lgghunspell_wrapper.h
diff options
context:
space:
mode:
authorelektrahesse2010-10-01 20:39:47 +0200
committerelektrahesse2010-10-01 20:39:47 +0200
commit09efe79829b5492e4f1cd91503cfa503378f403e (patch)
treec2dfd0d0f1ea6bf6a449e22e73c04c684f41050f /linden/indra/newview/lgghunspell_wrapper.h
parentEnabled friends chat and keywords highlighting for both IMs and Group IMs. (diff)
parentFixed Windows compile error introduced in 13b1fd24 (diff)
downloadmeta-impy-09efe79829b5492e4f1cd91503cfa503378f403e.zip
meta-impy-09efe79829b5492e4f1cd91503cfa503378f403e.tar.gz
meta-impy-09efe79829b5492e4f1cd91503cfa503378f403e.tar.bz2
meta-impy-09efe79829b5492e4f1cd91503cfa503378f403e.tar.xz
Merge branch 'weekly' of git://github.com/mccabe/imprudence into weekly
Diffstat (limited to 'linden/indra/newview/lgghunspell_wrapper.h')
-rw-r--r--linden/indra/newview/lgghunspell_wrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lgghunspell_wrapper.h b/linden/indra/newview/lgghunspell_wrapper.h
index b5f3ddb..71b2f14 100644
--- a/linden/indra/newview/lgghunspell_wrapper.h
+++ b/linden/indra/newview/lgghunspell_wrapper.h
@@ -55,7 +55,7 @@ public:
55 std::string VEC2CSV(std::vector<std::string> vec); 55 std::string VEC2CSV(std::vector<std::string> vec);
56 56
57 void setSpellCheckHighlight(BOOL highlight); 57 void setSpellCheckHighlight(BOOL highlight);
58 BOOL getSpellCheckHighlight() { return mSpellCheckHighlight; } 58 BOOL getSpellCheckHighlight() { return mSpellCheckHighlight && *mSpellCheckHighlight; }
59 59
60private: 60private:
61 void createCustomDic(); 61 void createCustomDic();
@@ -67,7 +67,7 @@ private:
67 std::string currentBaseDic; 67 std::string currentBaseDic;
68 //std::vector<std::string> languageCodes; 68 //std::vector<std::string> languageCodes;
69 //std::vector<std::string> countryCodes; 69 //std::vector<std::string> countryCodes;
70 BOOL mSpellCheckHighlight; 70 BOOL* mSpellCheckHighlight;
71}; 71};
72 72
73extern lggHunSpell_Wrapper* glggHunSpell; // the singleton hunspell wrapper 73extern lggHunSpell_Wrapper* glggHunSpell; // the singleton hunspell wrapper