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

Marcel Partap mpartap at
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

More information about the wine-patches mailing list