Commit 1c2b29da authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdiplus/tests: Fix a test failure on Win98.

parent 97505798
...@@ -629,7 +629,9 @@ static void test_fromhicon(void) ...@@ -629,7 +629,9 @@ static void test_fromhicon(void)
DeleteObject(hbmColor); DeleteObject(hbmColor);
stat = GdipCreateBitmapFromHICON(hIcon, &bitmap); stat = GdipCreateBitmapFromHICON(hIcon, &bitmap);
expect(Ok, stat); ok(stat == Ok ||
broken(stat == InvalidParameter), /* Win98 */
"Expected Ok, got %.8x\n", stat);
if(stat == Ok){ if(stat == Ok){
/* check attributes */ /* check attributes */
stat = GdipGetImageHeight((GpImage*)bitmap, &dim); stat = GdipGetImageHeight((GpImage*)bitmap, &dim);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment