From 66834fd0784a8655b8939241d3d79f654a50803b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 9 May 2008 17:06:49 +0000 Subject: [PATCH] Use UNICODE wWinMain, to make CRT initialize __wargv. --- PC/WinMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PC/WinMain.c b/PC/WinMain.c index c334a03d2eb..e439bed9ed1 100644 --- a/PC/WinMain.c +++ b/PC/WinMain.c @@ -5,10 +5,10 @@ #define WIN32_LEAN_AND_MEAN #include -int WINAPI WinMain( +int WINAPI wWinMain( HINSTANCE hInstance, /* handle to current instance */ HINSTANCE hPrevInstance, /* handle to previous instance */ - LPSTR lpCmdLine, /* pointer to command line */ + LPWSTR lpCmdLine, /* pointer to command line */ int nCmdShow /* show state of window */ ) {