summaryrefslogtreecommitdiff
path: root/Plugins/utils/utf8_helpers.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-01-25 03:07:19 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-01-25 03:07:19 +0000
commit479d892f7889ac0e9e7882583c4bdb1153c488ed (patch)
tree062f1a3762f352b708aa4c5e25409e9add785e2a /Plugins/utils/utf8_helpers.h
parent230746eadee7b60116426adca6680b88e8c0cff4 (diff)
utils: fix for codepage
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@136 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/utils/utf8_helpers.h')
-rw-r--r--Plugins/utils/utf8_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/utils/utf8_helpers.h b/Plugins/utils/utf8_helpers.h
index 2b08630..149efcf 100644
--- a/Plugins/utils/utf8_helpers.h
+++ b/Plugins/utils/utf8_helpers.h
@@ -149,7 +149,7 @@ public:
if (tmp == NULL)
throw _T("mir_alloc returned NULL");
- MultiByteToWideChar(CP_UTF8, 0, str, -1, tmp, size);
+ MultiByteToWideChar(CP_ACP, 0, str, -1, tmp, size);
tchar = tmp;