Mercurial > hg > openttd
changeset 14097:e3c772e8163d draft
(svn r18644) -Fix [FS#3434]: company league window was too narrow
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 27 Dec 2009 13:19:17 +0000 |
parents | fe83b1c9460b |
children | 6d35a3f22ae1 |
files | src/graph_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -1100,7 +1100,7 @@ FOR_ALL_COMPANIES(c) { SetDParam(0, c->index); SetDParam(1, c->index); - SetDParam(2, widest_title); + SetDParam(2, _performance_titles[widest_title]); widest_width = max(widest_width, GetStringBoundingBox(STR_COMPANY_LEAGUE_COMPANY_NAME).width); }