summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SpellChecker/src/dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp
index 64daeca022..25639508c9 100644
--- a/plugins/SpellChecker/src/dictionary.cpp
+++ b/plugins/SpellChecker/src/dictionary.cpp
@@ -941,7 +941,7 @@ void GetAvaibleDictionaries(LIST<Dictionary> &dicts, TCHAR *path, TCHAR *user_pa
TCHAR *pos;
if (pos = _tcsrchr(key, _T('\\')))
{
- if (lstrcmpi(&pos[1], otherHunspellApps[i].key) == 0)
+ if (!lstrcmpi(&pos[1], otherHunspellApps[i].key))
{
pos[0] = 0;
lResult = ERROR_SUCCESS;