Commit 4ea5dbfa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent f5070b05
......@@ -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),
......
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