gdiplus/tests: Fix a test failure on Win98.
This commit is contained in:
parent
97505798ec
commit
1c2b29dae3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue