Huw Davies : gdiplus/tests: Elliptic regions have a shorter layout in win98 .
Alexandre Julliard
julliard at winehq.org
Tue Mar 3 11:53:46 CST 2009
Module: wine
Branch: master
Commit: f0666564ced205d6059ee2084a73f68e66c5fb68
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0666564ced205d6059ee2084a73f68e66c5fb68
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Mar 3 10:37:50 2009 +0000
gdiplus/tests: Elliptic regions have a shorter layout in win98.
---
dlls/gdiplus/tests/region.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/tests/region.c b/dlls/gdiplus/tests/region.c
index 689811c..d48554c 100644
--- a/dlls/gdiplus/tests/region.c
+++ b/dlls/gdiplus/tests/region.c
@@ -793,12 +793,14 @@ static void test_fromhrgn(void)
status = GdipGetRegionDataSize(region, &needed);
todo_wine{
expect(Ok, status);
- expect(216, needed);
+ ok(needed == 216 ||
+ needed == 196, /* win98 */
+ "Got %.8x\n", needed);
}
status = GdipGetRegionData(region, (BYTE*)buf, sizeof(buf), &needed);
todo_wine expect(Ok, status);
- if(status == Ok)
+ if(status == Ok && needed == 216) /* Don't try to test win98 layout */
{
todo_wine{
expect(Ok, status);
More information about the wine-cvs
mailing list