PrintDlg minor fix

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


Hi,

    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.

Changelog
    * 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20040716/5bd59af2/printdlg-null.bin


More information about the wine-patches mailing list