Skip to content

Commit

Permalink
Use UNICODE wWinMain, to make CRT initialize __wargv.
Browse files Browse the repository at this point in the history
  • Loading branch information
loewis committed May 9, 2008
1 parent b134227 commit 66834fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PC/WinMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

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 */
)
{
Expand Down

0 comments on commit 66834fd

Please sign in to comment.