msvcrt: Return per-thread information also in lc_codepage_func and lc_handle_func.

This commit is contained in:
Alexandre Julliard 2014-01-13 14:02:44 +01:00
parent ae81a130d2
commit b88630a42d
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/*********************************************************************