Commit 1d66e20e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32/tests: Add a broken case for some versions of winxp.

parent 0788ac38
......@@ -2357,7 +2357,9 @@ static void getwinmetafilebits(UINT mode, int scale, RECT *rc)
ok(EqualRect((RECT*)&enh_header->rclFrame, rc), "Frame rectangles differ\n");
size = GetWinMetaFileBits(emf, 0, NULL, mode, display_dc);
ok(size, "GetWinMetaFileBits returns 0\n");
ok(size ||
broken(size == 0), /* some versions of winxp fail for some reason */
"GetWinMetaFileBits returns 0\n");
if(!size) goto end;
mh = HeapAlloc(GetProcessHeap(), 0, size);
GetWinMetaFileBits(emf, size, (BYTE*)mh, mode, display_dc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment