File 0001-Make-it-possible-to-reselect-same-paper-size-entry.patch of Package wine

From 611f873bfa3bec6d84c97208ff2f4435d9db8210 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Mon, 22 Sep 2014 08:11:51 +0200
Subject: [PATCH] Make it possible to reselect same paper size entry.

A full fix requires to compare dmFormName for paperSize.
---
 dlls/comdlg32/printdlg.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index d621087..0b12cf8 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -804,9 +804,6 @@ static BOOL PRINTDLG_SetUpPaperComboBoxA(HWND hDlg,
          */
         oldWord = SendDlgItemMessageA(hDlg, nIDComboBox, CB_GETITEMDATA,
                                       Sel, 0);
-        if(oldWord >= DMPAPER_USER) /* DMPAPER_USER == DMBIN_USER */
-            oldWord = 0; /* There's no point in trying to keep custom
-                            paper / bin sizes across printers */
     }
 
     if (dm)
@@ -914,10 +911,6 @@ static BOOL PRINTDLG_SetUpPaperComboBoxW(HWND hDlg,
          */
         oldWord = SendDlgItemMessageW(hDlg, nIDComboBox, CB_GETITEMDATA,
                                       Sel, 0);
-
-        if(oldWord >= DMPAPER_USER) /* DMPAPER_USER == DMBIN_USER */
-            oldWord = 0; /* There's no point in trying to keep custom
-                            paper / bin sizes across printers */
     }
 
     if (dm)
-- 
1.8.4.5
openSUSE Build Service is sponsored by