comdlg32: Fetch rectangle from the correct control.

This commit is contained in:
David Hedberg 2011-04-04 11:01:50 +02:00 committed by Alexandre Julliard
parent 097a31bb21
commit 0efd552b5b

View File

@ -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;