Codechange: use string/fmt instead of printf for ShowInfo(F)
This commit is contained in:
@@ -210,9 +210,9 @@ std::string FS2OTTD(const std::string &name)
|
||||
|
||||
#endif /* WITH_ICONV */
|
||||
|
||||
void ShowInfo(const char *str)
|
||||
void ShowInfoI(const std::string &str)
|
||||
{
|
||||
fprintf(stderr, "%s\n", str);
|
||||
fprintf(stderr, "%s\n", str.c_str());
|
||||
}
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
|
Reference in New Issue
Block a user