From a45f23686da3215329c8f8c183d99537a4349e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Fri, 9 May 2025 18:08:17 +0200 Subject: [PATCH] Fix #14241, 6e10584: Invalid string parameters in subsidies list window (#14243) --- src/subsidy_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subsidy_gui.cpp b/src/subsidy_gui.cpp index 5f065166ef..80f1c8ccd2 100644 --- a/src/subsidy_gui.cpp +++ b/src/subsidy_gui.cpp @@ -219,13 +219,13 @@ struct SubsidyListWindow : Window { if (TimerGameEconomy::UsingWallclockUnits()) { text = GetString(STR_SUBSIDIES_SUBSIDISED_FROM_TO, cs->name, s->src.GetFormat(), s->src.id, s->dst.GetFormat(), s->dst.id, - GetString(STR_COMPANY_NAME, s->awarded), + s->awarded, STR_SUBSIDIES_SUBSIDISED_EXPIRY_TIME, s->remaining + 1); // We get the rest of the current economy month for free, since the expiration is checked on each new month. } else { text = GetString(STR_SUBSIDIES_SUBSIDISED_FROM_TO, cs->name, s->src.GetFormat(), s->src.id, s->dst.GetFormat(), s->dst.id, - GetString(STR_COMPANY_NAME, s->awarded), + s->awarded, STR_SUBSIDIES_SUBSIDISED_EXPIRY_DATE, TimerGameEconomy::date.base() - ymd.day + s->remaining * 32); }