Alexandre Julliard : msvcrt: Return per-thread information also in lc_codepage_func and lc_handle_func.
Alexandre Julliard
julliard at winehq.org
Mon Jan 13 12:46:32 CST 2014
Module: wine
Branch: master
Commit: b88630a42d07bbdbe7710a5a2460be991761cde3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b88630a42d07bbdbe7710a5a2460be991761cde3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jan 13 14:02:44 2014 +0100
msvcrt: Return per-thread information also in lc_codepage_func and lc_handle_func.
---
dlls/msvcrt/locale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 4e8467a..7a33376 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -613,7 +613,7 @@ int CDECL __lconv_init(void)
*/
LCID* CDECL ___lc_handle_func(void)
{
- return MSVCRT___lc_handle;
+ return get_locinfo()->lc_handle;
}
/*********************************************************************
@@ -621,7 +621,7 @@ LCID* CDECL ___lc_handle_func(void)
*/
unsigned int CDECL ___lc_codepage_func(void)
{
- return MSVCRT___lc_codepage;
+ return get_locinfo()->lc_codepage;
}
/*********************************************************************
More information about the wine-cvs
mailing list