14 Jun
2023
14 Jun
'23
12:23 p.m.
Piotr Caban (@piotr) commented about dlls/msvcr110/tests/msvcr110.c:
ret = p_setlocale(LC_ALL, "en-us.1250"); ok(!ret, "setlocale(en-us.1250) succeeded (%s)\n", ret);
+ ret = p_setlocale(LC_ALL, "zh-Hans"); + todo_wine ok((ret != NULL + || broken(ret == NULL)), /* Vista */ + "expected success, but got NULL\n"); + if (ret) + todo_wine ok(!strcmp(ret, "zh-Hans"), "setlocale zh-Hans failed\n");
It is not very important but the second todo_wine is not needed (the if condition is not met anyway on wine). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3050#note_35697