diff options
author | rubidium <rubidium@openttd.org> | 2007-05-26 12:34:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-26 12:34:25 +0000 |
commit | d21b1acbcce65e056df3c930a9496444fdfde215 (patch) | |
tree | 42f5850886239164c8e9be0cf4561c9f6d62a479 | |
parent | 98cf7f5c7b6d107a488635178f8cad7e9bc96ffe (diff) | |
download | openttd-d21b1acbcce65e056df3c930a9496444fdfde215.tar.xz |
(svn r9933) -Fix (9925): unified a little too much.
-rw-r--r-- | src/road_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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]; } |