1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

(svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view.

This commit is contained in:
alberth
2009-11-29 09:01:03 +00:00
parent 736e0c18cc
commit c0dfaec34d

View File

@@ -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;
}