Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/edit.c:
edit_pos_ok(test_left, format_rect.left - left_margin, left); \
} while(0)
-static void test_text_position_style(DWORD style) +/* Starting with Win10, multiline edit controls can have any value for height.
- Before, they always have a height which is a multiple of the font height.
- So detect which model we're running the tests on, and adjust the expected
- height accordingly.
- */
+static BOOL old_height_model;
+static DWORD compute_height(HWND hwedit, BOOL single_line, unsigned tmHeight, unsigned incr, unsigned limit)
The style is a bit inconsistent. Let's not use camel cases.