From: André Hentschel Subject: user32/tests: Fix a broken test on W2k8 Message-Id: <55AE9058.5040801@dawncrow.de> Date: Tue, 21 Jul 2015 20:32:56 +0200 https://test.winehq.org/data/tests/user32:edit.html --- dlls/user32/tests/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c index e8b41c2..9ce99f2 100644 --- a/dlls/user32/tests/edit.c +++ b/dlls/user32/tests/edit.c @@ -1518,7 +1518,8 @@ static void test_margins(void) SendMessageA(hwEdit, WM_SETFONT, (WPARAM)hfont, MAKELPARAM(TRUE, 0)); old_margins = SendMessageA(hwEdit, EM_GETMARGINS, 0, 0); - ok(old_margins == 0, "got %d, %d\n", HIWORD(old_margins), LOWORD(old_margins)); + ok(old_margins == 0 || broken(HIWORD(old_margins) == 1 && LOWORD(old_margins) == 1 /* Win2k8 */), + "got %d, %d\n", HIWORD(old_margins), LOWORD(old_margins)); DeleteObject(hfont); DestroyWindow(hwEdit); -- 1.9.1