Printer dialog patch

Duane Clark dclark at akamail.com
Sun Oct 20 21:26:40 CDT 2002


Changelog:
	Set the return value of the PD_PAGENUMS flag.

-------------- next part --------------
Index: dlls/commdlg/printdlg.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/printdlg.c,v
retrieving revision 1.55
diff -u -r1.55 printdlg.c
--- dlls/commdlg/printdlg.c	16 Sep 2002 22:47:05 -0000	1.55
+++ dlls/commdlg/printdlg.c	21 Oct 2002 02:25:01 -0000
@@ -463,7 +463,10 @@
 	    }
 	    lppd->nFromPage = nFromPage;
 	    lppd->nToPage   = nToPage;
+	    lppd->Flags |= PD_PAGENUMS;
 	}
+	else
+	    lppd->Flags &= ~PD_PAGENUMS;
 
 	if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
 	    lppd->Flags |= PD_PRINTTOFILE;


More information about the wine-patches mailing list