winemine: Native RegisterClassEx requires cbSize to be set.

oldstable
Dylan Smith 2010-06-18 17:42:23 -04:00 committed by Alexandre Julliard
parent 3d73c466ca
commit 8a2cb8fe21
1 changed files with 1 additions and 0 deletions

View File

@ -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;