mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18644) -Fix [FS#3434]: company league window was too narrow
This commit is contained in:
parent
04a8888547
commit
b0c9b2c232
|
@ -1100,7 +1100,7 @@ public:
|
||||||
FOR_ALL_COMPANIES(c) {
|
FOR_ALL_COMPANIES(c) {
|
||||||
SetDParam(0, c->index);
|
SetDParam(0, c->index);
|
||||||
SetDParam(1, 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);
|
widest_width = max(widest_width, GetStringBoundingBox(STR_COMPANY_LEAGUE_COMPANY_NAME).width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue