comdlg32/tests: Tell PageSetupDlg() not to bring up a dialog if there is no default printer.

This commit is contained in:
Francois Gouget 2007-10-06 16:43:58 +02:00 committed by Alexandre Julliard
parent f5070b0511
commit 4ea5dbfa1c

View file

@ -74,7 +74,7 @@ static void test_PageSetupDlgA(void)
ZeroMemory(pDlg, sizeof(PAGESETUPDLGA));
pDlg->lStructSize = sizeof(PAGESETUPDLGA);
pDlg->Flags = PSD_RETURNDEFAULT;
pDlg->Flags = PSD_RETURNDEFAULT | PSD_NOWARNING;
SetLastError(0xdeadbeef);
res = PageSetupDlgA(pDlg);
ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN),