Commit 395436d2 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32/tests: Fix tests on win9x and winMe.

parent f6c42d37
......@@ -2429,7 +2429,9 @@ static void getwinmetafilebits(UINT mode, int scale)
default:
pt.x = pt.y = 0;
}
ok((short)rec->rdParm[0] == pt.y, "got %d expect %d\n", (short)rec->rdParm[0], pt.y);
ok((short)rec->rdParm[0] == pt.y ||
broken(mode >= MM_LOMETRIC && mode <= MM_TWIPS && (short)rec->rdParm[0] == pt.y - 1), /* win9x, winme */
"got %d expect %d\n", (short)rec->rdParm[0], pt.y);
ok((short)rec->rdParm[1] == pt.x, "got %d expect %d\n", (short)rec->rdParm[1], pt.x);
}
if(rec_num == mfcomment_chunks + 2)
......
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