summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
commit7f7252104c054002c8b30636ac0b327e915e7b6d (patch)
tree99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /plugins/SpellChecker/src/spellchecker.cpp
parentf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff)
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'plugins/SpellChecker/src/spellchecker.cpp')
-rw-r--r--plugins/SpellChecker/src/spellchecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp
index 48cc788d8f..1706817874 100644
--- a/plugins/SpellChecker/src/spellchecker.cpp
+++ b/plugins/SpellChecker/src/spellchecker.cpp
@@ -111,19 +111,19 @@ static int ModulesLoaded(WPARAM, LPARAM)
dictionariesFolder = (wchar_t *)mir_alloc(sizeof(wchar_t) * MAX_PATH);
FoldersGetCustomPathT(hDictionariesFolder, dictionariesFolder, MAX_PATH, L".");
}
- else dictionariesFolder = Utils_ReplaceVarsT(DICTIONARIES_FOLDER);
+ else dictionariesFolder = Utils_ReplaceVarsW(DICTIONARIES_FOLDER);
if (hCustomDictionariesFolder = FoldersRegisterCustomPathT(LPGEN("Spell Checker"), LPGEN("Custom Dictionaries"), CUSTOM_DICTIONARIES_FOLDER)) {
customDictionariesFolder = (wchar_t *)mir_alloc(sizeof(wchar_t) * MAX_PATH);
FoldersGetCustomPathT(hCustomDictionariesFolder, customDictionariesFolder, MAX_PATH, L".");
}
- else customDictionariesFolder = Utils_ReplaceVarsT(CUSTOM_DICTIONARIES_FOLDER);
+ else customDictionariesFolder = Utils_ReplaceVarsW(CUSTOM_DICTIONARIES_FOLDER);
if (hFlagsDllFolder = FoldersRegisterCustomPathT(LPGEN("Spell Checker"), LPGEN("Flags DLL"), FLAGS_DLL_FOLDER)) {
flagsDllFolder = (wchar_t *)mir_alloc(sizeof(wchar_t) * MAX_PATH);
FoldersGetCustomPathT(hFlagsDllFolder, flagsDllFolder, MAX_PATH, L".");
}
- else flagsDllFolder = Utils_ReplaceVarsT(FLAGS_DLL_FOLDER);
+ else flagsDllFolder = Utils_ReplaceVarsW(FLAGS_DLL_FOLDER);
InitOptions();