gdi32: Fix a test failure in 2k.

This commit is contained in:
Austin English 2008-05-28 17:04:18 -05:00 committed by Alexandre Julliard
parent 06f65e65d0
commit bde1187488
1 changed files with 2 additions and 1 deletions

View File

@ -981,7 +981,8 @@ static void test_bitmap(void)
hbmp = CreateBitmap(0x7ffffff, 1, 1, 1, NULL);
if (!hbmp)
{
ok(GetLastError() == ERROR_NOT_ENOUGH_MEMORY,
ok(GetLastError() == ERROR_NOT_ENOUGH_MEMORY /* XP */ ||
GetLastError() == ERROR_INVALID_PARAMETER /* Win2k */,
"expected ERROR_NOT_ENOUGH_MEMORY, got %u\n", GetLastError());
}
else