From 025e50219f9aabf3e2c9be11960f7d9bb95f86f2 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 4 Apr 2019 16:37:51 +0300 Subject: [PATCH] - fixed missing command line in crash reports https://forum.zdoom.org/viewtopic.php?t=64149 --- src/win32/i_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/i_main.cpp b/src/win32/i_main.cpp index ee43eab0c..9af8bc4cf 100644 --- a/src/win32/i_main.cpp +++ b/src/win32/i_main.cpp @@ -1111,7 +1111,7 @@ void DoomSpecificInfo (char *buffer, size_t bufflen) int i; buffer += mysnprintf (buffer, buffend - buffer, GAMENAME " version %s (%s)", GetVersionString(), GetGitHash()); - buffer += mysnprintf (buffer, buffend - buffer, "\r\nCommand line: %s\r\n", GetCommandLine()); + buffer += mysnprintf (buffer, buffend - buffer, "\r\nCommand line: %s\r\n", GetCommandLineA()); for (i = 0; (arg = Wads.GetWadName (i)) != NULL; ++i) {