gdi32/tests: Fix tests on win9x and winMe.

This commit is contained in:
Huw Davies 2009-07-02 17:08:31 +01:00 committed by Alexandre Julliard
parent f6c42d37e5
commit 395436d2e9
1 changed files with 3 additions and 1 deletions

View File

@ -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)