shell32: Fix crash regression in browse for folder dialog.

This commit is contained in:
Daniel Remenak 2008-07-08 17:49:13 -07:00 committed by Alexandre Julliard
parent 616fd82062
commit 806385248a
1 changed files with 4 additions and 0 deletions

View File

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