summaryrefslogtreecommitdiff
path: root/indra/llui/llspellcheck.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-01 09:27:23 -0400
committerOz Linden <oz@lindenlab.com>2012-06-01 09:27:23 -0400
commit3329291a5ef392bf822d8163b0a7e2c88b2e7965 (patch)
tree0514b85339dc9c4e07d9d556ff566f3953df5283 /indra/llui/llspellcheck.cpp
parent5e5dbd718e65dc30365bf435a7a865e7f95096cc (diff)
parent17605cc894ad458915d958919554345334892eb0 (diff)
merge latest fixes from Kitty
Diffstat (limited to 'indra/llui/llspellcheck.cpp')
-rw-r--r--indra/llui/llspellcheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llspellcheck.cpp b/indra/llui/llspellcheck.cpp
index aa39e21a96..bde3b56741 100644
--- a/indra/llui/llspellcheck.cpp
+++ b/indra/llui/llspellcheck.cpp
@@ -142,7 +142,7 @@ void LLSpellChecker::addToIgnoreList(const std::string& word)
{
std::string word_lower(word);
LLStringUtil::toLower(word_lower);
- if (mIgnoreList.end() != std::find(mIgnoreList.begin(), mIgnoreList.end(), word_lower))
+ if (mIgnoreList.end() == std::find(mIgnoreList.begin(), mIgnoreList.end(), word_lower))
{
mIgnoreList.push_back(word_lower);
addToDictFile(getDictionaryUserPath() + mDictFile + DICT_IGNORE_SUFFIX + ".dic", word_lower);