http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7cf79
)
mshtml: Don't crash in notif_focus if client is NULL.
author
Jacek Caban
<jacek@codeweavers.com>
Fri, 10 Oct 2008 20:47:54 +0000
(15:47 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 13 Oct 2008 09:16:27 +0000
(11:16 +0200)
dlls/mshtml/view.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/mshtml/view.c
b/dlls/mshtml/view.c
index bba0f23029037431f9e3c134a7e31f968a4f2114..6bc5e929ca6f2cc5216d26930ec5f1fbac2f746d 100644
(file)
--- a/
dlls/mshtml/view.c
+++ b/
dlls/mshtml/view.c
@@
-168,6
+168,9
@@
void notif_focus(HTMLDocument *This)
IOleControlSite *site;
HRESULT hres;
+ if(!This->client)
+ return;
+
hres = IOleClientSite_QueryInterface(This->client, &IID_IOleControlSite, (void**)&site);
if(FAILED(hres))
return;