From b0c9b2c2321a2dbbf0edb43943c6e3554fc243e0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 27 Dec 2009 13:19:17 +0000 Subject: [PATCH] (svn r18644) -Fix [FS#3434]: company league window was too narrow --- src/graph_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 926cb7ea4b..a8e0d22aba 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -1100,7 +1100,7 @@ public: 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); }