Module: wine Branch: master Commit: 1c2b29dae3967fbd21f28e56eea7aacf84329b97 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c2b29dae3967fbd21f28e56ee...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Fri Apr 24 14:43:48 2009 +0200
gdiplus/tests: 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);