mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- use the Unicode version of GetCommandLine for the crash log.
This commit is contained in:
parent
2a6cdc7a6a
commit
0153c2aefa
1 changed files with 2 additions and 1 deletions
|
@ -1111,7 +1111,8 @@ 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", GetCommandLineA());
|
||||
FString cmdline(GetCommandLineW());
|
||||
buffer += mysnprintf (buffer, buffend - buffer, "\r\nCommand line: %s\r\n", cmdline.GetChars() );
|
||||
|
||||
for (i = 0; (arg = Wads.GetWadName (i)) != NULL; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue