Changeset - r26436:31cc5ec36bd7
[Not reviewed]
master
0 1 0
SamuXarick - 2 years ago 2022-05-31 13:44:05
43006711+SamuXarick@users.noreply.github.com
Fix: List a max of four share owners instead of three

An AI company may have four different share owners, but the company information window is limited to display a max of three. This commit increases that limit.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -2222,7 +2222,7 @@ static const NWidgetPart _nested_company
 
				NWidget(NWID_HORIZONTAL),
 
					NWidget(NWID_SELECTION, INVALID_COLOUR, WID_C_SELECT_DESC_OWNERS),
 
						NWidget(NWID_VERTICAL), SetPIP(5, 5, 4),
 
							NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_DESC_OWNERS), SetMinimalTextLines(3, 0),
 
							NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_DESC_OWNERS), SetMinimalTextLines(MAX_COMPANY_SHARE_OWNERS, 0),
 
							NWidget(NWID_SPACER), SetFill(0, 1),
 
						EndContainer(),
 
					EndContainer(),
0 comments (0 inline, 0 general)