Module: wine Branch: master Commit: 6485c76ed311f2441deffbecf5403fae4637dea7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6485c76ed311f2441deffbecf5...
Author: Ralf Habacker ralf.habacker@freenet.de Date: Tue Sep 23 12:10:40 2014 +0200
wineps.drv: For each printer start page size and source index with the same value.
---
dlls/wineps.drv/ppd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c index 520355a..f8de57b 100644 --- a/dlls/wineps.drv/ppd.c +++ b/dlls/wineps.drv/ppd.c @@ -179,9 +179,6 @@ static const struct { {NULL, 0} };
-static WORD UserPageType = DMPAPER_USER; -static WORD UserBinType = DMBIN_USER; - /*********************************************************************** * * PSDRV_PPDDecodeHex @@ -695,6 +692,8 @@ PPD *PSDRV_ParsePPD( const WCHAR *fname, HANDLE printer ) char *def_pagesize_override = NULL, *def_duplex_override = NULL; PAGESIZE *page, *page_cursor2; struct map_context c; + WORD UserPageType = DMPAPER_USER; + WORD UserBinType = DMBIN_USER;
TRACE("file %s\n", debugstr_w(fname));