projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc6940
)
Don't crash if ShellFolder doesn't implement the IID_ISFHelper interface.
author
Filip Navara
<filip.navara@gmail.com>
Mon, 3 Jan 2005 21:19:25 +0000
(21:19 +0000)
committer
Filip Navara
<filip.navara@gmail.com>
Mon, 3 Jan 2005 21:19:25 +0000
(21:19 +0000)
svn path=/trunk/; revision=12763
reactos/lib/shell32/shlview.c
patch
|
blob
|
history
diff --git
a/reactos/lib/shell32/shlview.c
b/reactos/lib/shell32/shlview.c
index
6c65080
..
b504b75
100644
(file)
--- a/
reactos/lib/shell32/shlview.c
+++ b/
reactos/lib/shell32/shlview.c
@@
-1456,6
+1456,9
@@
static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
IShellFolder_QueryInterface(This->pSFParent, &IID_ISFHelper,
\r
(LPVOID*)&psfhlp);
\r
\r
+ if (psfhlp == NULL)
\r
+ break;
\r
+
\r
if(!(i = ListView_GetSelectedCount(This->hWndList)))
\r
break;
\r
\r