mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
comdlg32/tests: Tell PageSetupDlg() not to bring up a dialog if there is no default printer.
This commit is contained in:
parent
f5070b0511
commit
4ea5dbfa1c
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue