From 8a2cb8fe218d2292790413333456432b98bb2556 Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Fri, 18 Jun 2010 17:42:23 -0400 Subject: [PATCH] winemine: Native RegisterClassEx requires cbSize to be set. --- programs/winemine/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/winemine/main.c b/programs/winemine/main.c index 582f2cbd8bf..e9e89ecbac9 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; -- 2.11.4.GIT