diff options
author | George Hazan <george.hazan@gmail.com> | 2024-12-01 14:20:34 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-12-01 14:20:34 +0300 |
commit | fcc6038bca76ecb2a47dcaa776293d5085cff3ea (patch) | |
tree | a80e7545b700a70f750296018a94ae6fecabca25 | |
parent | aae341e9afbea80ab1f1003307571625e73f1446 (diff) |
SpellChecker: fix for crash under XP/Windows 7
-rw-r--r-- | plugins/SpellChecker/src/spellchecker.cpp | 3 |
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(); |