mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
gdi32/tests: Add a broken case for some versions of winxp.
This commit is contained in:
parent
0788ac38ab
commit
1d66e20ead
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue