shell32: Avoid crash on WM_WINDOWPOSCHANGING in BrsFolderDlgProc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48510 Signed-off-by: Roman Pišl <rpisl@seznam.cz> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9692f48a31
commit
a102671720
@ -1109,6 +1109,8 @@ static INT_PTR CALLBACK BrsFolderDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
|||||||
return BrsFolder_OnCreate( hWnd, (browse_info*) lParam );
|
return BrsFolder_OnCreate( hWnd, (browse_info*) lParam );
|
||||||
|
|
||||||
info = GetPropW( hWnd, szBrowseFolderInfo );
|
info = GetPropW( hWnd, szBrowseFolderInfo );
|
||||||
|
if (!info)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
switch (msg)
|
switch (msg)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user