[win32] Use ASCII function version explicitly
parent
754d149b3a
commit
bcced3c103
|
@ -58,7 +58,7 @@ const char* CurrentCP()
|
||||||
static char cp[20] = "CP";
|
static char cp[20] = "CP";
|
||||||
if (!set)
|
if (!set)
|
||||||
{
|
{
|
||||||
GetLocaleInfo(GetThreadLocale(), LOCALE_IDEFAULTANSICODEPAGE, cp+2, 18);
|
GetLocaleInfoA(GetThreadLocale(), LOCALE_IDEFAULTANSICODEPAGE, cp+2, 18);
|
||||||
set = true;
|
set = true;
|
||||||
}
|
}
|
||||||
return cp;
|
return cp;
|
||||||
|
|
Loading…
Reference in New Issue