comdlg32: Fetch rectangle from the correct control.
This commit is contained in:
parent
097a31bb21
commit
0efd552b5b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue