shell32: Fix crash regression in browse for folder dialog.
This commit is contained in:
parent
616fd82062
commit
806385248a
|
@ -605,6 +605,10 @@ static BOOL BrsFolder_OnCreate( HWND hWnd, browse_info *info )
|
|||
info->szMin.cx = rcWnd.right - rcWnd.left;
|
||||
info->szMin.cy = rcWnd.bottom - rcWnd.top;
|
||||
}
|
||||
else
|
||||
{
|
||||
info->layout = NULL;
|
||||
}
|
||||
|
||||
if (lpBrowseInfo->lpszTitle)
|
||||
SetWindowTextW( GetDlgItem(hWnd, IDD_TITLE), lpBrowseInfo->lpszTitle );
|
||||
|
|
Loading…
Reference in New Issue