Paul Vriens : gdiplus/tests: Fix a test failure on Win98.
Alexandre Julliard
julliard at winehq.org
Fri Apr 24 10:00:11 CDT 2009
Module: wine
Branch: master
Commit: 1c2b29dae3967fbd21f28e56eea7aacf84329b97
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c2b29dae3967fbd21f28e56eea7aacf84329b97
Author: Paul Vriens <Paul.Vriens.Wine at 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);
More information about the wine-cvs
mailing list