1
0
Fork 0

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

pull/13844/head
glx22 2025-03-18 17:31:09 +01:00
parent 17f7d0950e
commit 0c8e460cdd
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);
}