Codechange: replace printf with fmt::print

This commit is contained in:
Rubidium
2023-05-21 08:04:33 +02:00
committed by rubidium42
parent d57046e7ec
commit c518293135
9 changed files with 49 additions and 52 deletions

View File

@@ -225,7 +225,7 @@ static void ShowHelp()
/* ShowInfo put output to stderr, but version information should go
* to stdout; this is the only exception */
#if !defined(_WIN32)
printf("%s\n", str.c_str());
fmt::print("{}\n", str);
#else
ShowInfoI(str);
#endif
@@ -262,7 +262,7 @@ static void WriteSavegameInfo(const char *name)
/* ShowInfo put output to stderr, but version information should go
* to stdout; this is the only exception */
#if !defined(_WIN32)
printf("%s\n", message.c_str());
fmt::print("%s\n", message);
#else
ShowInfoI(message);
#endif