PrintDlg minor fix

James Hawkins truiken at
Fri Jul 16 12:15:18 CDT 2004


    If no printer is select in PrintDlg, then PrinterName is empty and
OpenPrinterW should not be called.  This should keep this error

fixme:commdlg:PRINTDLG_WMCommandW  Call to OpenPrinter did not succeed!

from happening when no printer is selected.

    * check for empty PrinterName in printdlg.c:PRINTDLG_WMCommandW

James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printdlg-null.diff
Type: text/x-patch
Size: 780 bytes
Desc: not available
Url :

More information about the wine-patches mailing list