diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 33f140335fb..89eefcda4b5 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -2430,9 +2430,9 @@ static void test_SetForegroundWindow(HWND hwnd) /*trace("testing SetForegroundWindow on an invisible window %p\n", hwnd);*/ ret = SetForegroundWindow(hwnd); - ok(ret, "SetForegroundWindow returned FALSE instead of TRUE\n"); + ok(ret || broken(!ret), /* win98 */ "SetForegroundWindow returned FALSE instead of TRUE\n"); check_wnd_state(hwnd, hwnd, hwnd, 0); - + ShowWindow(hwnd, SW_SHOW); check_wnd_state(hwnd, hwnd, hwnd, 0);