- fixed missing command line in crash reports

https://forum.zdoom.org/viewtopic.php?t=64149
This commit is contained in:
alexey.lysiuk 2019-04-04 16:37:51 +03:00
parent 2886f22b8f
commit 025e50219f

View file

@ -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)
{