summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-01 14:20:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-01 14:20:34 +0300
commitfcc6038bca76ecb2a47dcaa776293d5085cff3ea (patch)
treea80e7545b700a70f750296018a94ae6fecabca25 /plugins/SpellChecker/src/spellchecker.cpp
parentaae341e9afbea80ab1f1003307571625e73f1446 (diff)
SpellChecker: fix for crash under XP/Windows 7
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();