From 5965f184c2585d4e0b96c6b7b00319c5785a58d7 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Tue, 23 Apr 2019 21:39:41 +0200 Subject: [PATCH] Fix: Manager name in company news was being clipped --- src/news_gui.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/news_gui.cpp b/src/news_gui.cpp index b79418c899..7b6e432f88 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -331,6 +331,11 @@ struct NewsWindow : Window { *size = maxdim(*size, GetSpriteSize(SPR_GRADIENT)); break; + case WID_N_MGR_NAME: + SetDParamStr(0, static_cast(this->ni->free_data)->president_name); + str = STR_JUST_RAW_STRING; + break; + case WID_N_MESSAGE: CopyInDParam(0, this->ni->params, lengthof(this->ni->params)); str = this->ni->string_id;