user32/tests: SetForegroundWindow sometimes fails on Win98.

This commit is contained in:
Alexandre Julliard 2009-03-11 11:42:01 +01:00
parent 5cadd7e480
commit 943ae1f5a6
1 changed files with 2 additions and 2 deletions

View File

@ -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);