diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-20 13:25:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-20 13:25:21 +0300 |
commit | 509fbd91ed545d05cc266a80ec19fe7b9c9d28db (patch) | |
tree | 09c2d97d212c0820f6d5e85d7e583b8a56b26ef8 /plugins/SpellChecker | |
parent | c90b4443c10b08eeae9466428255fe8ff7b48d6d (diff) |
we don't need two name sets for the same array of functions
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/src/autoreplace.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SpellChecker/src/autoreplace.cpp b/plugins/SpellChecker/src/autoreplace.cpp index 2dfe7787df..bec1572b85 100644 --- a/plugins/SpellChecker/src/autoreplace.cpp +++ b/plugins/SpellChecker/src/autoreplace.cpp @@ -64,8 +64,8 @@ void AutoReplaceMap::loadAutoReplaceMap() }
if (p != nullptr) {
- ptrW find(Utf8DecodeW(tmp));
- ptrW replace(Utf8DecodeW(p));
+ ptrW find(mir_utf8decodeW(tmp));
+ ptrW replace(mir_utf8decodeW(p));
lstrtrim(find);
lstrtrim(replace);
@@ -102,8 +102,8 @@ void AutoReplaceMap::writeAutoReplaceMap() for (; it != m_replacements.end(); it++) {
AutoReplacement &ar = it->second;
- ptrA find(Utf8EncodeW(it->first.c_str()));
- ptrA replace(Utf8EncodeW(ar.replace.c_str()));
+ ptrA find(mir_utf8encodeW(it->first.c_str()));
+ ptrA replace(mir_utf8encodeW(ar.replace.c_str()));
if (ar.useVariables)
fprintf(file, "%s-V>%s\n", (const char *)find, (const char *)replace);
|