1
0
Fork 0

Fix #13843, 015c081c: Don't discard GetString() result (#13844)

pull/13845/head
Loïc Guilloux 2025-03-18 18:15:40 +01:00 committed by GitHub
parent 17f7d0950e
commit e55f54ce08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1645,7 +1645,7 @@ struct IndustryProductionGraphWindow : BaseGraphWindow {
std::string GetWidgetString(WidgetID widget, StringID stringid) const override
{
if (widget == WID_GRAPH_CAPTION) GetString(STR_GRAPH_INDUSTRY_PRODUCTION_CAPTION, this->window_number);
if (widget == WID_GRAPH_CAPTION) return GetString(STR_GRAPH_INDUSTRY_PRODUCTION_CAPTION, this->window_number);
return this->Window::GetWidgetString(widget, stringid);
}