summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/news_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 7aee32cac..be83b374c 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<const CompanyNewsInformation *>(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;