From fcc6038bca76ecb2a47dcaa776293d5085cff3ea Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 1 Dec 2024 14:20:34 +0300 Subject: SpellChecker: fix for crash under XP/Windows 7 --- plugins/SpellChecker/src/spellchecker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3