gdiplus/tests: Fix a test failure on Win98.

This commit is contained in:
Paul Vriens 2009-04-24 14:43:48 +02:00 committed by Alexandre Julliard
parent 97505798ec
commit 1c2b29dae3

View file

@ -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);