From 6485c76ed311f2441deffbecf5403fae4637dea7 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 23 Sep 2014 12:10:40 +0200 Subject: [PATCH] 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 520355ab73b..f8de57bf3fe 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)); -- 2.11.4.GIT