From 94f1f51943c11b1dd9ff35fddb86c00148b0b98b Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Nov 2009 09:01:03 +0000 Subject: [PATCH] (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(-) diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 1811dc34bb..724b45d1bb 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; }