From d21b1acbcce65e056df3c930a9496444fdfde215 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 26 May 2007 12:34:25 +0000 Subject: (svn r9933) -Fix (9925): unified a little too much. --- src/road_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 5d59f4b6d..83e132ae6 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -645,6 +645,7 @@ static void ShowRVStationPicker(RoadStop::Type rs) Window *w = AllocateWindowDesc(&_rv_station_picker_desc); if (w == NULL) return; + w->window_class = (rs == RoadStop::BUS) ? WC_BUS_STATION : WC_TRUCK_STATION; w->widget[1].data = _road_type_infos[_cur_roadtype].picker_title[rs]; for (uint i = 3; i < 9; i++) w->widget[i].tooltips = _road_type_infos[_cur_roadtype].picker_tooltip[rs]; } -- cgit v1.2.3-70-g09d2