diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
commit | 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch) | |
tree | 4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/station_gui.cpp | |
parent | b58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff) | |
download | openttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz |
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 9d922b936..1811dc34b 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -707,7 +707,7 @@ static const NWidgetPart _nested_company_stations_widgets[] = { }; static const WindowDesc _company_stations_desc( - WDP_AUTO, WDP_AUTO, 358, 162, + WDP_AUTO, 358, 162, WC_STATION_LIST, WC_NONE, 0, _nested_company_stations_widgets, lengthof(_nested_company_stations_widgets) @@ -1165,7 +1165,7 @@ struct StationViewWindow : public Window { static const WindowDesc _station_view_desc( - WDP_AUTO, WDP_AUTO, 249, 110, + WDP_AUTO, 249, 110, WC_STATION_VIEW, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_station_view_widgets, lengthof(_nested_station_view_widgets) @@ -1412,7 +1412,7 @@ struct SelectStationWindow : Window { }; static const WindowDesc _select_station_desc( - WDP_AUTO, WDP_AUTO, 200, 180, + WDP_AUTO, 200, 180, WC_SELECT_STATION, WC_NONE, WDF_CONSTRUCTION, _nested_select_station_widgets, lengthof(_nested_select_station_widgets) |