diff options
author | Oz Linden <oz@lindenlab.com> | 2012-03-30 13:31:26 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-03-30 13:31:26 -0400 |
commit | e56ea836383bd357809f86e2ffebafee8f481222 (patch) | |
tree | 8b5dd20b28261fba8b33953ef0f522914b2252c0 /indra/newview/llviewercontrol.cpp | |
parent | 6f71df192720ec3f16e7e7102ad21f4d140b8e07 (diff) | |
parent | e60dac5ce486f55fe69949a6a3a2949d4f868193 (diff) |
merge changes for latest core and updates from Kitty
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()); |