From 245dfc052bfeca2d88e46a7643baa3a6521fe331 Mon Sep 17 00:00:00 2001 From: glx22 Date: Fri, 9 May 2025 15:07:21 +0200 Subject: [PATCH] Fix #14241, 6e10584: Invalid string parameters in subsidies list window --- 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); }