[ros-diffs] [hpoussin] 33306: 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.

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon May 5 22:16:34 CEST 2008


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/oleobject.c?rev=33306&r1=33305&r2=33306&view=diff
==============================================================================
--- 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)



More information about the Ros-diffs mailing list