Commit 0efd552b authored by David Hedberg's avatar David Hedberg Committed by Alexandre Julliard

comdlg32: Fetch rectangle from the correct control.

parent 097a31bb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment