Alexandre Julliard : kernel32:
Use LC_NUMERIC instead of LC_ALL to determine the user locale.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 13 09:24:23 CST 2006
Module: wine
Branch: master
Commit: 7a1522a20f45a39e9f127c9f2f83638ff600f5d9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a1522a20f45a39e9f127c9f2f83638ff600f5d9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Nov 13 14:27:00 2006 +0100
kernel32: Use LC_NUMERIC instead of LC_ALL to determine the user locale.
Passing LC_ALL to setlocale() doesn't do what we want.
---
dlls/kernel32/locale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 9a72a4c..748995c 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -2592,7 +2592,7 @@ #ifdef __APPLE__
#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 );
More information about the wine-cvs
mailing list