mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- use the Unicode version of GetCommandLine for the crash log.
This commit is contained in:
parent
d85fb785eb
commit
52b8c02fdf
1 changed files with 2 additions and 1 deletions
|
@ -1123,7 +1123,8 @@ void DoomSpecificInfo (char *buffer, size_t bufflen)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
buffer += mysnprintf (buffer, buffend - buffer, GAMENAME " version %s (%s)", GetVersionString(), GetGitHash());
|
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)
|
for (i = 0; (arg = Wads.GetWadName (i)) != NULL; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue