26 Aug
2024
26 Aug
'24
1:13 p.m.
Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/edit.c:
+static void test_format_rect(void) +{ + HWND edit; + RECT rect, old_rect; + + static const struct + { + int style; + int style_ex; + RECT input; + int expected_equal; + } + tests[] = + { + {ES_MULTILINE | WS_VISIBLE, 0, {0, 0, 0, 0}, 1},
style in the tests are all the same so you can just use create_editcontrol(ES_MULTILINE | WS_VISIBLE, tests[i].style_ex); And let's use ex_style instead of style_ex. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6304#note_79998