Alexander Nicolaysen Sørnes : comdlg32: PageSetupDlgA: Read margins from correct edit boxes.

Alexandre Julliard julliard at winehq.org
Sat Dec 8 13:43:39 CST 2007


Module: wine
Branch: master
Commit: 51086b5513a436f51460d006f4fa7156e9d58a92
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=51086b5513a436f51460d006f4fa7156e9d58a92

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sat Dec  8 13:53:32 2007 +0100

comdlg32: PageSetupDlgA: Read margins from correct edit boxes.

---

 dlls/comdlg32/printdlg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index e04e145..5baa90e 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -2890,10 +2890,10 @@ PRINTDLG_PS_WMCommandA(
     	GETVAL(id, pda->curdlg.rtMargin.left);
 	break;
     case edt5:
-    	GETVAL(id, pda->curdlg.rtMargin.right);
+	GETVAL(id, pda->curdlg.rtMargin.top);
 	break;
     case edt6:
-    	GETVAL(id, pda->curdlg.rtMargin.top);
+	GETVAL(id, pda->curdlg.rtMargin.right);
 	break;
     case edt7:
     	GETVAL(id, pda->curdlg.rtMargin.bottom);




More information about the wine-cvs mailing list