kernel32: Use LC_NUMERIC instead of LC_ALL to determine the user locale.

Passing LC_ALL to setlocale() doesn't do what we want.
This commit is contained in:
Alexandre Julliard 2006-11-13 14:27:00 +01:00
parent 4811743b36
commit 7a1522a20f
1 changed files with 1 additions and 1 deletions

View File

@ -2592,7 +2592,7 @@ void LOCALE_Init(void)
#endif
setlocale( LC_ALL, "" );
lcid = get_env_lcid( NULL, LC_ALL );
lcid = get_env_lcid( NULL, LC_NUMERIC );
NtSetDefaultLocale( TRUE, lcid );
lcid = get_env_lcid( NULL, LC_MESSAGES );