(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
1 changed files with 1 additions and 1 deletions

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