diff options
author | Kitty Barnett <develop@catznip.com> | 2012-03-29 18:25:48 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-03-29 18:25:48 +0200 |
commit | 2587f6d9d8167bb29491ff681dcd133eb28aba67 (patch) | |
tree | b9a286f196506783189b73a9763aae47b848c504 /indra/newview/llviewercontrol.cpp | |
parent | 59bfc3f608bed806e03898b833a0fda9f95d42b9 (diff) |
Minor fix for GCC
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r-- | indra/newview/llviewercontrol.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 7b6dbfaa0b..d7168a401c 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -507,7 +507,8 @@ bool handleSpellCheckChanged() if (gSavedSettings.getBOOL("SpellCheck")) { std::list<std::string> dict_list; - boost::split(dict_list, gSavedSettings.getString("SpellCheckDictionary"), boost::is_any_of(std::string(","))); + std::string dict_setting = gSavedSettings.getString("SpellCheckDictionary"); + boost::split(dict_list, dict_setting, boost::is_any_of(std::string(","))); if (!dict_list.empty()) { LLSpellChecker::setUseSpellCheck(dict_list.front()); |