winspool.drv: fix A/W messup fetching default DEVMODE from registry
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...
More information about the wine-patches