mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:59:55 +00:00
msvcrt: Copy LC_COLLATE codepage between threadlocinfo instances.
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9cb112ca25
commit
3e3f6396d2
|
@ -1265,6 +1265,7 @@ static MSVCRT_pthreadlocinfo create_locinfo(int category,
|
|||
if(!category_needs_update(MSVCRT_LC_COLLATE, category, old_locinfo,
|
||||
lcid[MSVCRT_LC_COLLATE], cp[MSVCRT_LC_COLLATE])) {
|
||||
copy_threadlocinfo_category(locinfo, old_locinfo, MSVCRT_LC_COLLATE);
|
||||
locinfo->lc_collate_cp = old_locinfo->lc_collate_cp;
|
||||
} else if(lcid[MSVCRT_LC_COLLATE] && (category==MSVCRT_LC_ALL || category==MSVCRT_LC_COLLATE)) {
|
||||
if(!update_threadlocinfo_category(lcid[MSVCRT_LC_COLLATE],
|
||||
cp[MSVCRT_LC_COLLATE], locinfo, MSVCRT_LC_COLLATE)) {
|
||||
|
|
Loading…
Reference in a new issue