From c0dfaec34d7b2387553de197081c3d84b4b3a823 Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Nov 2009 09:01:03 +0000 Subject: (svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_gui.cpp') 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; } -- cgit v1.2.3-54-g00ecf