David Hedberg : comdlg32: Fetch rectangle from the correct control.

Alexandre Julliard julliard at winehq.org
Mon Apr 4 10:10:55 CDT 2011


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

Author: David Hedberg <david.hedberg at gmail.com>
Date:   Mon Apr  4 11:01:50 2011 +0200

comdlg32: Fetch rectangle from the correct control.

---

 dlls/comdlg32/itemdlg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 35910c3..f447828 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -354,6 +354,7 @@ static SIZE update_layout(FileDialogImpl *This)
     }
 
     /* Open/Save button */
+    hwnd = GetDlgItem(This->dlg_hwnd, IDOK);
     if(hwnd)
     {
         int open_width, open_height;




More information about the wine-cvs mailing list