mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed compilation with Clang
src/console/c_cmds.cpp:1310:40: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
a7258de82e
commit
a3eb1ec1fd
1 changed files with 1 additions and 1 deletions
|
@ -1307,7 +1307,7 @@ CCMD (mapinfo)
|
|||
Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName.GetChars());
|
||||
|
||||
if (myLevel->LevelName.IsNotEmpty())
|
||||
Printf(" LevelName: %s\n", myLevel->LookupLevelName());
|
||||
Printf(" LevelName: %s\n", myLevel->LookupLevelName().GetChars());
|
||||
|
||||
if (myLevel->AuthorName.IsNotEmpty())
|
||||
Printf(" AuthorName: %s\n", testlocalised(myLevel->AuthorName));
|
||||
|
|
Loading…
Reference in a new issue