winspool.drv: fix A/W messup fetching default DEVMODE from registry

Marcel Partap mpartap at gmx.net
Tue Dec 11 07:45:58 CST 2007


before, the retrieved data from the registry was assumed to be an ANSI structure
when in fact it was Unicode, so GetPrinterA returned a slightly borked DEVMODEW
and GetPrinterW returned bogus bytes. Now the devmode struct is converted to
ANSI for GetPrinterA and untouched for GetPrinterW.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0015-winspool.drv-fix-A-W-messup-fetching-default-DEVMOD.patch
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071211/d9da252d/attachment.txt 


More information about the wine-patches mailing list