Dylan Smith : winemine: 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: 8a2cb8fe218d2292790413333456432b98bb2556
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8a2cb8fe218d2292790413333456432b98bb2556

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

winemine: Native RegisterClassEx requires cbSize to be set.

---

 programs/winemine/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/programs/winemine/main.c b/programs/winemine/main.c
index 582f2cb..e9e89ec 100644
--- a/programs/winemine/main.c
+++ b/programs/winemine/main.c
@@ -1015,6 +1015,7 @@ int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmd
 
     LoadString( hInst, IDS_APPNAME, appname, sizeof(appname));
 
+    wc.cbSize = sizeof(wc);
     wc.style = 0;
     wc.lpfnWndProc = MainProc;
     wc.cbClsExtra = 0;




More information about the wine-cvs mailing list