Changeset - r23648:706331b4f2d2
[Not reviewed]
master
0 1 0
Niels Martin Hansen - 5 years ago 2019-04-23 19:39:41
nielsm@indvikleren.dk
Fix: Manager name in company news was being clipped
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/news_gui.cpp
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)