From dbea968f4f416e2e16c9cadc6c51b03a00404102 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 14 Mar 2025 15:22:30 +0100 Subject: [PATCH] Codefix 20e57a02a28: String parameters were off by one. (#13810) --- src/newgrf_commons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index a72d5a9ccd..4c8dcf8f57 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -521,7 +521,7 @@ void ErrorUnknownCallbackResult(uint32_t grfid, uint16_t cbid, uint16_t cb_res) /* debug output */ Debug(grf, 0, "{}", StrMakeValid(GetString(STR_NEWGRF_BUGGY, grfconfig->GetName()))); - Debug(grf, 0, "{}", StrMakeValid(GetString(STR_NEWGRF_BUGGY_UNKNOWN_CALLBACK_RESULT, cbid, cb_res))); + Debug(grf, 0, "{}", StrMakeValid(GetString(STR_NEWGRF_BUGGY_UNKNOWN_CALLBACK_RESULT, std::monostate{}, cbid, cb_res))); } /**