From 1c2b29dae3967fbd21f28e56eea7aacf84329b97 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 24 Apr 2009 14:43:48 +0200 Subject: [PATCH] gdiplus/tests: Fix a test failure on Win98. --- dlls/gdiplus/tests/image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 5d46c8b33eb..4c836cdac26 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -629,7 +629,9 @@ static void test_fromhicon(void) DeleteObject(hbmColor); stat = GdipCreateBitmapFromHICON(hIcon, &bitmap); - expect(Ok, stat); + ok(stat == Ok || + broken(stat == InvalidParameter), /* Win98 */ + "Expected Ok, got %.8x\n", stat); if(stat == Ok){ /* check attributes */ stat = GdipGetImageHeight((GpImage*)bitmap, &dim); -- 2.11.4.GIT