Author: hpoussin
Date: Mon May 5 15:16:34 2008
New Revision: 33306
URL:
http://svn.reactos.org/svn/reactos?rev=33306&view=rev
Log:
Initialize size field of the OLEINPLACEFRAMEINFO structure.
This should prevent Explorer to disappear when user doesn't want to download the
Mozilla ActiveX control.
See issue #3126 for more details.
Modified:
trunk/reactos/dll/win32/shdocvw/oleobject.c
Modified: trunk/reactos/dll/win32/shdocvw/oleobject.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shdocvw/oleobjec…
==============================================================================
--- trunk/reactos/dll/win32/shdocvw/oleobject.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shdocvw/oleobject.c [iso-8859-1] Mon May 5 15:16:34 2008
@@ -706,6 +706,7 @@
memset(&This->pos_rect, 0, sizeof(RECT));
memset(&This->clip_rect, 0, sizeof(RECT));
memset(&This->frameinfo, 0, sizeof(OLEINPLACEFRAMEINFO));
+ This->frameinfo.cb = sizeof(OLEINPLACEFRAMEINFO);
}
void WebBrowser_OleObject_Destroy(WebBrowser *This)