summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-18 15:45:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-18 15:45:33 +0000
commitd9ecab2dcd4ca334e1923d8c9beadeb3e231a4b8 (patch)
tree159cf9b74f1351c79339e872d8f032181411c38f /plugins/Spamotron/src/utils.cpp
parentbf9a197e3e5e22fa01263492574cf27d582bed36 (diff)
various calls of setlocale removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Spamotron/src/utils.cpp')
-rw-r--r--plugins/Spamotron/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 7d70522e45..345f3316ce 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -6,7 +6,7 @@ TCHAR *_tcstolower(TCHAR *dst)
{
if (dst == NULL)
return NULL;
- setlocale(LC_ALL, "");
+
SIZE_T dst_len = _tcslen(dst);
for (SIZE_T i = 0; i < dst_len; i ++)
dst[i] = _totlower(dst[i]);
@@ -17,7 +17,7 @@ TCHAR *_tcstoupper(TCHAR *dst)
{
if (dst == NULL)
return NULL;
- setlocale(LC_ALL, "");
+
SIZE_T dst_len = _tcslen(dst);
for (SIZE_T i = 0; i < dst_len; i ++)
dst[i] = _totupper(dst[i]);