Austin English : gdi32: Fix a test failure in 2k.
Alexandre Julliard
julliard at winehq.org
Thu May 29 06:52:20 CDT 2008
Module: wine
Branch: master
Commit: bde11874885e32635308acdd477dfa416fb273f7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bde11874885e32635308acdd477dfa416fb273f7
Author: Austin English <austinenglish at gmail.com>
Date: Wed May 28 17:04:18 2008 -0500
gdi32: Fix a test failure in 2k.
---
dlls/gdi32/tests/bitmap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index f8be7c0..06b1672 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -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
More information about the wine-cvs
mailing list