shdocvw: Native RegisterClassEx requires cbSize to be set.

Dylan Smith dylan.ah.smith at gmail.com
Fri Jun 18 16:42:55 CDT 2010


---
 dlls/shdocvw/iexplore.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shdocvw/iexplore.c b/dlls/shdocvw/iexplore.c
index 5ef0b36..e4e7618 100644
--- a/dlls/shdocvw/iexplore.c
+++ b/dlls/shdocvw/iexplore.c
@@ -90,6 +90,7 @@ void register_iewindow_class(void)
     WNDCLASSEXW wc;
 
     memset(&wc, 0, sizeof wc);
+    wc.cbSize = sizeof(wc);
     wc.style = 0;
     wc.lpfnWndProc = ie_window_proc;
     wc.cbClsExtra = 0;
-- 
1.7.0.4



More information about the wine-patches mailing list