summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-27 13:19:17 +0000
committerrubidium <rubidium@openttd.org>2009-12-27 13:19:17 +0000
commitb0c9b2c2321a2dbbf0edb43943c6e3554fc243e0 (patch)
tree0dd00f8c1c072da692a5edc741cfb81b9304be24 /src
parent04a888854775c5b4f886c5de3a2c1a0c4b26389c (diff)
downloadopenttd-b0c9b2c2321a2dbbf0edb43943c6e3554fc243e0.tar.xz
(svn r18644) -Fix [FS#3434]: company league window was too narrow
Diffstat (limited to 'src')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 926cb7ea4..a8e0d22ab 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);
}