mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-20 11:03:08 +00:00
- fixed compilation with GCC and Clang
src/d_main.cpp:3101:37: error: cannot pass non-trivial object of type 'FString' to variadic method; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
2e467bd239
commit
388d800b40
1 changed files with 1 additions and 1 deletions
|
@ -3098,7 +3098,7 @@ void I_UpdateWindowTitle()
|
|||
if (level.LevelName && level.LevelName.GetChars()[0])
|
||||
{
|
||||
FString titlestr;
|
||||
titlestr.Format("%s - %s", level.LevelName, DoomStartupInfo.Name.GetChars());
|
||||
titlestr.Format("%s - %s", level.LevelName.GetChars(), DoomStartupInfo.Name.GetChars());
|
||||
I_SetWindowTitle(titlestr.GetChars());
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue