diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index e55c0866ed..dc4d2848ee 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -422,6 +422,11 @@ NtInitialize(int *argc, char ***argv) int ret; // + // subvert cmd.exe's feeble attempt at command line parsing + // + *argc = make_cmdvector(GetCommandLine(), argv); + + // // Now set up the correct time stuff // @@ -433,6 +438,11 @@ NtInitialize(int *argc, char ***argv) // Initialize Winsock StartSockets(); + +#ifdef _WIN32_WCE + // free commandline buffer + wce_FreeCommandLine(); +#endif } char * |