From e041fb8b25b1fa821ffa52af32f3c7dba4de129c Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 31 Mar 2024 16:52:14 +0100 Subject: [PATCH] Fix industry window production last month string in wallclock mode --- src/industry_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 170864de6e..4c29e7e93c 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -960,7 +960,7 @@ public: if (i->produced_cargo[j] == INVALID_CARGO) continue; if (first) { if (has_accept) ir.top += WidgetDimensions::scaled.vsep_wide; - DrawString(ir, STR_INDUSTRY_VIEW_PRODUCTION_LAST_MONTH_TITLE); + DrawString(ir, EconTime::UsingWallclockUnits() ? STR_INDUSTRY_VIEW_PRODUCTION_LAST_MINUTE_TITLE : STR_INDUSTRY_VIEW_PRODUCTION_LAST_MONTH_TITLE); ir.top += GetCharacterHeight(FS_NORMAL); if (this->editable == EA_RATE) this->production_offset_y = ir.top; first = false;