Skip to content
Snippets Groups Projects
Commit f9403bfb authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard
Browse files

msvcrt: Use given locale info in _mbtowcs_l.

parent 31141a3b
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment