diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-05-09 17:06:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-05-09 17:06:49 (GMT) |
commit | 66834fd0784a8655b8939241d3d79f654a50803b (patch) | |
tree | a407001ebf873d26b940aa7c3276f7d3a2e87e88 /PC | |
parent | b1342277378faba62ff70e300f10a730d570a2eb (diff) | |
download | cpython-66834fd0784a8655b8939241d3d79f654a50803b.zip cpython-66834fd0784a8655b8939241d3d79f654a50803b.tar.gz cpython-66834fd0784a8655b8939241d3d79f654a50803b.tar.bz2 |
Use UNICODE wWinMain, to make CRT initialize __wargv.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/WinMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/WinMain.c b/PC/WinMain.c index c334a03..e439bed 100644 --- a/PC/WinMain.c +++ b/PC/WinMain.c @@ -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 */ ) { |