winspool/tests: Allow a different way of specifying the paper size capabilities.

This commit is contained in:
Alexandre Julliard 2011-10-31 20:00:26 +01:00
parent c9c568dda9
commit 7a8a56a27c
1 changed files with 2 additions and 1 deletions

View File

@ -2841,8 +2841,9 @@ static void test_DeviceCapabilities(void)
ok(fields != (DWORD)-1, "DeviceCapabilities DC_FIELDS failed\n"); ok(fields != (DWORD)-1, "DeviceCapabilities DC_FIELDS failed\n");
todo_wine todo_wine
ok(fields == (dm->dmFields | DM_FORMNAME) || ok(fields == (dm->dmFields | DM_FORMNAME) ||
fields == ((dm->dmFields | DM_FORMNAME | DM_PAPERSIZE) & ~(DM_PAPERLENGTH|DM_PAPERWIDTH)) ||
broken(fields == dm->dmFields), /* Win9x/WinMe */ broken(fields == dm->dmFields), /* Win9x/WinMe */
"fields %x != (dm->dmFields | DM_FORMNAME) %lx\n", fields, (dm->dmFields | DM_FORMNAME)); "fields %x, dm->dmFields %x\n", fields, dm->dmFields);
GlobalUnlock(prn_dlg.hDevMode); GlobalUnlock(prn_dlg.hDevMode);
GlobalFree(prn_dlg.hDevMode); GlobalFree(prn_dlg.hDevMode);