From: Tim Kientzle Date: Mon, 2 Nov 2009 02:42:21 +0000 (-0500) Subject: Use CP_ACP instead of CP_THREAD_ACP. X-Git-Tag: v2.8.0~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbaefa157aa17f18725fd8572c632c4b27586063;p=thirdparty%2Flibarchive.git Use CP_ACP instead of CP_THREAD_ACP. SVN-Revision: 1574 --- diff --git a/libarchive/archive_windows.c b/libarchive/archive_windows.c index 998ca8390..84add03cb 100644 --- a/libarchive/archive_windows.c +++ b/libarchive/archive_windows.c @@ -558,7 +558,7 @@ size_t __la_mbstowcs(wchar_t *wcstr, const char *mbstr, size_t nwchars) { - return (MultiByteToWideChar(CP_THREAD_ACP, MB_ERR_INVALID_CHARS, + return (MultiByteToWideChar(CP_ACP, MB_ERR_INVALID_CHARS, mbstr, (int)strlen(mbstr), wcstr, (int)nwchars)); }