mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Don't crash if ShellFolder doesn't implement the IID_ISFHelper interface.
svn path=/trunk/; revision=12763
This commit is contained in:
parent
edc694086f
commit
366252dce4
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue