mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
Don't crash if ShellFolder doesn't implement the IID_ISFHelper interface.
svn path=/trunk/; revision=12763
This commit is contained in:
@@ -1456,6 +1456,9 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
||||
IShellFolder_QueryInterface(This->pSFParent, &IID_ISFHelper,
|
||||
(LPVOID*)&psfhlp);
|
||||
|
||||
if (psfhlp == NULL)
|
||||
break;
|
||||
|
||||
if(!(i = ListView_GetSelectedCount(This->hWndList)))
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user