comdlg32: Write-strings warning fix.
This commit is contained in:
parent
ce7e2e16ab
commit
0d4afab704
|
@ -325,8 +325,9 @@ static BOOL PRINTDLG_UpdatePrintDlgA(HWND hDlg,
|
||||||
lppd->Flags &= ~PD_PAGENUMS;
|
lppd->Flags &= ~PD_PAGENUMS;
|
||||||
|
|
||||||
if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
|
if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
|
||||||
|
static char file[] = "FILE:";
|
||||||
lppd->Flags |= PD_PRINTTOFILE;
|
lppd->Flags |= PD_PRINTTOFILE;
|
||||||
pi->pPortName = "FILE:";
|
pi->pPortName = file;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED) { /* Collate */
|
if (IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED) { /* Collate */
|
||||||
|
|
Loading…
Reference in New Issue