- 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:
alexey.lysiuk 2023-10-02 10:24:24 +03:00
parent a7258de82e
commit a3eb1ec1fd
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ CCMD (mapinfo)
Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName.GetChars()); Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName.GetChars());
if (myLevel->LevelName.IsNotEmpty()) if (myLevel->LevelName.IsNotEmpty())
Printf(" LevelName: %s\n", myLevel->LookupLevelName()); Printf(" LevelName: %s\n", myLevel->LookupLevelName().GetChars());
if (myLevel->AuthorName.IsNotEmpty()) if (myLevel->AuthorName.IsNotEmpty())
Printf(" AuthorName: %s\n", testlocalised(myLevel->AuthorName)); Printf(" AuthorName: %s\n", testlocalised(myLevel->AuthorName));