summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/spellchecker.cpp')
-rw-r--r--plugins/SpellChecker/src/spellchecker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp
index deeadb0bcf..0c7fdba566 100644
--- a/plugins/SpellChecker/src/spellchecker.cpp
+++ b/plugins/SpellChecker/src/spellchecker.cpp
@@ -104,7 +104,8 @@ static int ModulesLoaded(WPARAM, LPARAM)
}
else flagsDllFolder = Utils_ReplaceVarsW(FLAGS_DLL_FOLDER);
- GetNativeDictionaries(languages);
+ if (bComInited)
+ GetNativeDictionaries(languages);
GetAvaibleDictionaries(languages, dictionariesFolder, customDictionariesFolder);
LoadOptions();