Daniel Remenak : shell32: Fix crash regression in browse for folder dialog.

Alexandre Julliard julliard at winehq.org
Wed Jul 9 06:10:28 CDT 2008


Module: wine
Branch: master
Commit: 806385248a5695f448b387baf3145ea3ecd3dd7a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=806385248a5695f448b387baf3145ea3ecd3dd7a

Author: Daniel Remenak <DanielR at gibbscam.com>
Date:   Tue Jul  8 17:49:13 2008 -0700

shell32: Fix crash regression in browse for folder dialog.

---

 dlls/shell32/brsfolder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c
index dd04d93..91e8cc3 100644
--- a/dlls/shell32/brsfolder.c
+++ b/dlls/shell32/brsfolder.c
@@ -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 );




More information about the wine-cvs mailing list