summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-12 09:10:17 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-13 12:45:45 +0200
commit55a11710a6c0f7942f3947711f2050c34782c39d (patch)
tree491b3009324e623236977614e91371a0ea4abac7 /src/settings.cpp
parenta99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (diff)
downloadopenttd-55a11710a6c0f7942f3947711f2050c34782c39d.tar.xz
Codechange: convert printf DEBUG statements to fmt Debug statements
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 7ec5112fd..a32563b53 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1268,7 +1268,7 @@ static void AILoadConfig(IniFile *ini, const char *grpname)
config->Change(item->name.c_str());
if (!config->HasScript()) {
if (item->name != "none") {
- DEBUG(script, 0, "The AI by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
+ Debug(script, 0, "The AI by the name '{}' was no longer found, and removed from the list.", item->name);
continue;
}
}
@@ -1295,7 +1295,7 @@ static void GameLoadConfig(IniFile *ini, const char *grpname)
config->Change(item->name.c_str());
if (!config->HasScript()) {
if (item->name != "none") {
- DEBUG(script, 0, "The GameScript by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
+ Debug(script, 0, "The GameScript by the name '{}' was no longer found, and removed from the list.", item->name);
return;
}
}