mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 17:56:27 +01:00
Fix: Manager name in company news was being clipped
This commit is contained in:
parent
2c67af391b
commit
58609e8fa6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user