summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-26 12:34:25 +0000
committerrubidium <rubidium@openttd.org>2007-05-26 12:34:25 +0000
commit1b2016a4b25d30c279619d93f2978dc5ad069614 (patch)
tree42f5850886239164c8e9be0cf4561c9f6d62a479
parent79fe6c57cce16e78db5e1014e02cfc2f477d9c31 (diff)
downloadopenttd-1b2016a4b25d30c279619d93f2978dc5ad069614.tar.xz
(svn r9933) -Fix (9925): unified a little too much.
-rw-r--r--src/road_gui.cpp1
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];
}