mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[DRWTSN32] Use GetCommandLineW for CommandLineToArgvW.
Spotted by Hermès
This commit is contained in:
@@ -253,7 +253,7 @@ HRESULT WriteMinidump(LPCWSTR LogFilePath, DumpData& data)
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR cmdLine, INT)
|
||||
{
|
||||
int argc;
|
||||
WCHAR **argv = CommandLineToArgvW(cmdLine, &argc);
|
||||
WCHAR **argv = CommandLineToArgvW(GetCommandLineW(), &argc);
|
||||
|
||||
DWORD pid = 0;
|
||||
WCHAR Filename[50];
|
||||
|
||||
Reference in New Issue
Block a user