[win32] Use ASCII function version explicitly

pull/3/head
Hleb Valoshka 2019-12-05 18:09:24 +03:00
parent 754d149b3a
commit bcced3c103
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const char* CurrentCP()
static char cp[20] = "CP";
if (!set)
{
GetLocaleInfo(GetThreadLocale(), LOCALE_IDEFAULTANSICODEPAGE, cp+2, 18);
GetLocaleInfoA(GetThreadLocale(), LOCALE_IDEFAULTANSICODEPAGE, cp+2, 18);
set = true;
}
return cp;