Dylan Smith : shdocvw: Native RegisterClassEx requires cbSize to be set.

Alexandre Julliard julliard at winehq.org
Mon Jun 21 11:07:00 CDT 2010


Module: wine
Branch: master
Commit: ec99c8553155afe29ef2c5dcf37160f85bbb5822
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ec99c8553155afe29ef2c5dcf37160f85bbb5822

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Fri Jun 18 17:42:55 2010 -0400

shdocvw: Native RegisterClassEx requires cbSize to be set.

---

 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;




More information about the wine-cvs mailing list