Module: wine Branch: master Commit: 9797afd0031b5b4bc7df576960616c3fa410a8a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9797afd0031b5b4bc7df576960...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Fri Nov 8 16:33:39 2013 +0900
gdiplus/tests: Fix the test for flags of an empty region.
---
dlls/gdiplus/tests/region.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/tests/region.c b/dlls/gdiplus/tests/region.c index d19d919..3e6f902 100644 --- a/dlls/gdiplus/tests/region.c +++ b/dlls/gdiplus/tests/region.c @@ -370,8 +370,8 @@ static void test_getregiondata(void) expect_magic(buf + 6); expect_dword(buf + 7, 0); /* flags 0 means that a path is an array of FLOATs */ - ok((*(buf + 8) & (~ 0x00004000)) == 0x00000000, - "expected 00000000 got %08x\n", *(buf + 8) & (~ 0x00004000)); + ok(*(buf + 8) == 0x4000 /* before win7 */ || *(buf + 8) == 0, + "expected 0x4000 or 0, got %08x\n", *(buf + 8));
/* Transform an empty region */ status = GdipCreateMatrix(&matrix);