>From 480f2fe8855451778da8656a4f774523ef3ee8a7 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 24 Apr 2009 14:43:48 +0200 Subject: [PATCH] Fix a test failure on Win98 --- dlls/gdiplus/tests/image.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 5d46c8b..4c836cd 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); -- 1.6.0.6