summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/autoreplace.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-09 13:03:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-09 13:03:28 +0300
commit4b99b5b4abad1cf12ac5c7bbb8788899ba6a48ab (patch)
treee0948136799223ad497814ff1acb9928d5267514 /plugins/SpellChecker/src/autoreplace.cpp
parentaa859cd9b0034a3e54e422868018e1714b743156 (diff)
massive Variables-related code cleaning (removed TCHAR, manually created unions replaced with MAllString etc)
Diffstat (limited to 'plugins/SpellChecker/src/autoreplace.cpp')
-rw-r--r--plugins/SpellChecker/src/autoreplace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SpellChecker/src/autoreplace.cpp b/plugins/SpellChecker/src/autoreplace.cpp
index e2db8efbae..921f105c7f 100644
--- a/plugins/SpellChecker/src/autoreplace.cpp
+++ b/plugins/SpellChecker/src/autoreplace.cpp
@@ -169,9 +169,9 @@ CMStringW AutoReplaceMap::autoReplace(const wchar_t * word)
wchar_t* AutoReplaceMap::filterText(const wchar_t *find)
{
wchar_t *ret = mir_wstrdup(find);
- int len = mir_wstrlen(ret);
+ size_t len = mir_wstrlen(ret);
int pos = 0;
- for (int i = 0; i < len; i++)
+ for (size_t i = 0; i < len; i++)
if (isWordChar(find[i]))
ret[pos++] = ret[i];
ret[pos] = 0;