[winspool.drv/tests] Fix test failures on XP+ with long printer names

Paul Vriens paul.vriens.wine at gmail.com
Tue Dec 8 03:29:17 CST 2009


Hi,

Some manual adding of printers with different names on several platforms 
revealed a change as of XP. Before XP the cutoff for dmDeviceName was 
(CCHDEVICENAME - 1), after that it's (CCHDEVICENAME - 2).

I've left both possibilities in for documentation purposes. As it seems 
to be changed behavior I didn't mark it with a broken().

Changelog
   Fix test failures on XP+ with long printer names

-- 
Cheers,

Paul.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-Fix-test-failures-on-XP-with-long-printer-names.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091208/5e5c2386/attachment.txt>


More information about the wine-patches mailing list