mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Don't crash if ShellFolder doesn't implement the IID_ISFHelper
interface.
This commit is contained in:
parent
68e1208f59
commit
4d20d165ff
@ -1457,6 +1457,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 New Issue
Block a user