From 79641da5e50b45aea58cc1a2564709cf517b6cee Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Thu, 13 May 1999 18:44:44 +0000 Subject: [PATCH] Small fix to help native win95 PrintDlg on the way. --- graphics/psdrv/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/psdrv/driver.c b/graphics/psdrv/driver.c index ca4f755d752..34f7e2f0907 100644 --- a/graphics/psdrv/driver.c +++ b/graphics/psdrv/driver.c @@ -197,7 +197,7 @@ fwMode); if((fwMode & DM_PROMPT) || (fwMode & DM_UPDATE)) FIXME(psdrv, "Mode %d not implemented\n", fwMode); - if(fwMode & DM_MODIFY) { + if((fwMode & DM_MODIFY) && lpdmInput) { TRACE(psdrv, "DM_MODIFY set. devIn->dmFields = %08lx\n", lpdmInput->dmFields); PSDRV_MergeDevmodes(pi->Devmode, (PSDRV_DEVMODE16 *)lpdmInput, pi); }