mirror of https://github.com/OpenTTD/OpenTTD
Fix: Manager name in company news was being clipped
parent
db20c7f461
commit
5965f184c2
|
@ -331,6 +331,11 @@ struct NewsWindow : Window {
|
||||||
*size = maxdim(*size, GetSpriteSize(SPR_GRADIENT));
|
*size = maxdim(*size, GetSpriteSize(SPR_GRADIENT));
|
||||||
break;
|
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:
|
case WID_N_MESSAGE:
|
||||||
CopyInDParam(0, this->ni->params, lengthof(this->ni->params));
|
CopyInDParam(0, this->ni->params, lengthof(this->ni->params));
|
||||||
str = this->ni->string_id;
|
str = this->ni->string_id;
|
||||||
|
|
Loading…
Reference in New Issue