diff options
author | alberth <alberth@openttd.org> | 2009-11-29 09:01:03 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-29 09:01:03 +0000 |
commit | c0dfaec34d7b2387553de197081c3d84b4b3a823 (patch) | |
tree | 7f54d46824004bb4c19bd3056a3e7047ade8d41c | |
parent | 736e0c18cc4ab82d3b0cc0675a82165b8fa60429 (diff) | |
download | openttd-c0dfaec34d7b2387553de197081c3d84b4b3a823.tar.xz |
(svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view.
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 1811dc34b..724b45d1b 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -1110,7 +1110,7 @@ struct StationViewWindow : public Window { nwi->SetDataTip(STR_STATION_VIEW_RATINGS_BUTTON, STR_STATION_VIEW_RATINGS_TOOLTIP); // Switch to ratings view. height_change = ALH_ACCEPTS - ALH_RATING; } - this->ReInit(0, height_change); + this->ReInit(0, height_change * FONT_HEIGHT_NORMAL); break; } |