user32/tests: Fix a test failure on Win9x.

This commit is contained in:
Andrew Nguyen 2009-08-24 01:50:30 -05:00 committed by Alexandre Julliard
parent b9d7ebd95a
commit 918c9d5994
1 changed files with 2 additions and 1 deletions

View File

@ -965,7 +965,8 @@ static void test_DialogBoxParamA(void)
SetLastError(0xdeadbeef);
ret = DefDlgProcA(0, WM_ERASEBKGND, 0, 0);
ok(ret == 0, "DefDlgProcA returned %ld, expected 0\n", ret);
ok(GetLastError() == ERROR_INVALID_WINDOW_HANDLE,
ok(GetLastError() == ERROR_INVALID_WINDOW_HANDLE ||
broken(GetLastError() == 0xdeadbeef),
"got %d, expected ERROR_INVALID_WINDOW_HANDLE\n", GetLastError());
}