mirror of
https://github.com/reactos/wine.git
synced 2025-02-14 17:49:51 +00:00
msvcrt: Use given locale info in _mbtowcs_l.
This commit is contained in:
parent
31141a3bea
commit
f9403bfb90
@ -1937,7 +1937,7 @@ MSVCRT_size_t CDECL MSVCRT__mbstowcs_l(MSVCRT_wchar_t *wcstr, const char *mbstr,
|
||||
if(mbstr[size] == '\0')
|
||||
break;
|
||||
|
||||
size += (MSVCRT_isleadbyte(mbstr[size]) ? 2 : 1);
|
||||
size += (MSVCRT__isleadbyte_l(mbstr[size], locale) ? 2 : 1);
|
||||
}
|
||||
|
||||
size = MultiByteToWideChar(locinfo->lc_codepage, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user