diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
commit | d7e53c4d5a748d5ef8c934e90dc59ff23c667420 (patch) | |
tree | 2b0c16de953e182321a0314b6ce3b909f428731f /plugins/SpellChecker/src | |
parent | 129687d805025b4e292174ffb3d224a55baf24d2 (diff) |
WCHAR -> wchar_t
Diffstat (limited to 'plugins/SpellChecker/src')
-rw-r--r-- | plugins/SpellChecker/src/dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index d804b2336a..28b412000e 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -423,7 +423,7 @@ protected: wchar_t* fromHunspell(const char *hunspellWord) { int len = MultiByteToWideChar(codePage, 0, hunspellWord, -1, nullptr, 0); - WCHAR *ret = (WCHAR *)malloc((len + 1) * sizeof(WCHAR)); + wchar_t *ret = (wchar_t *)malloc((len + 1) * sizeof(wchar_t)); MultiByteToWideChar(codePage, 0, hunspellWord, -1, ret, len + 1); return ret; } |