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/road_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/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 743c88904..00773d21c 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -661,7 +661,7 @@ static const NWidgetPart _nested_build_road_widgets[] = { }; static const WindowDesc _build_road_desc( - WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 263, 36, + WDP_ALIGN_TOOLBAR, 263, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_road_widgets, lengthof(_nested_build_road_widgets) @@ -700,7 +700,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = { }; static const WindowDesc _build_tramway_desc( - WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 241, 36, + WDP_ALIGN_TOOLBAR, 241, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets) @@ -743,7 +743,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = { }; static const WindowDesc _build_road_scen_desc( - WDP_AUTO, WDP_AUTO, 197, 36, + WDP_AUTO, 197, 36, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets) @@ -841,7 +841,7 @@ static const NWidgetPart _nested_build_road_depot_widgets[] = { }; static const WindowDesc _build_road_depot_desc( - WDP_AUTO, WDP_AUTO, 140, 122, + WDP_AUTO, 140, 122, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_road_depot_widgets, lengthof(_nested_build_road_depot_widgets) @@ -1010,7 +1010,7 @@ static const NWidgetPart _nested_rv_station_picker_widgets[] = { }; static const WindowDesc _rv_station_picker_desc( - WDP_AUTO, WDP_AUTO, 207, 178, + WDP_AUTO, 207, 178, WC_BUS_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_rv_station_picker_widgets, lengthof(_nested_rv_station_picker_widgets) |