mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 15:41:10 +00:00
vbscript/tests: Fix the testChrError() tests.
Chr() depends on the thread's ANSI code page which in some cases is different from the Windows ANSI code page (e.g. hi-IN). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54003
This commit is contained in:
parent
77fdfdb8ef
commit
15b176b4f4
|
@ -239,7 +239,7 @@ static void detect_locale(void)
|
|||
PRIMARYLANGID(GetUserDefaultUILanguage()) == LANG_ENGLISH &&
|
||||
PRIMARYLANGID(GetUserDefaultLangID()) == LANG_ENGLISH);
|
||||
|
||||
GetCPInfoExA( CP_ACP, 0, &cpinfo );
|
||||
GetCPInfoExA( CP_THREAD_ACP, 0, &cpinfo );
|
||||
MaxCharSize = cpinfo.MaxCharSize;
|
||||
|
||||
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_IFIRSTDAYOFWEEK | LOCALE_RETURN_NUMBER,
|
||||
|
|
Loading…
Reference in a new issue