comdlg32: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-05-23 20:05:53 +01:00 committed by Alexandre Julliard
parent ce7e2e16ab
commit 0d4afab704

View File

@ -325,8 +325,9 @@ static BOOL PRINTDLG_UpdatePrintDlgA(HWND hDlg,
lppd->Flags &= ~PD_PAGENUMS;
if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
static char file[] = "FILE:";
lppd->Flags |= PD_PRINTTOFILE;
pi->pPortName = "FILE:";
pi->pPortName = file;
}
if (IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED) { /* Collate */