mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
gdiplus/tests: Fix a test failure on Win98.
This commit is contained in:
parent
97505798ec
commit
1c2b29dae3
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue