From 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 14:42:35 +0000 Subject: (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. --- src/dock_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dock_gui.cpp') diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index 234e520a6..bf132d8e3 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -279,7 +279,7 @@ static const NWidgetPart _nested_build_docks_toolbar_widgets[] = { }; static const WindowDesc _build_docks_toolbar_desc( - WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 160, 36, + WDP_ALIGN_TOOLBAR, 160, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_docks_toolbar_widgets, lengthof(_nested_build_docks_toolbar_widgets) @@ -315,7 +315,7 @@ static const NWidgetPart _nested_build_docks_scen_toolbar_widgets[] = { /** Window definition for the build docks in scenario editor window. */ static const WindowDesc _build_docks_scen_toolbar_desc( - WDP_AUTO, WDP_AUTO, 115, 36, + WDP_AUTO, 115, 36, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets) @@ -410,7 +410,7 @@ static const NWidgetPart _nested_build_dock_station_widgets[] = { }; static const WindowDesc _build_dock_station_desc( - WDP_AUTO, WDP_AUTO, 148, 75, + WDP_AUTO, 148, 75, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_dock_station_widgets, lengthof(_nested_build_dock_station_widgets) @@ -494,7 +494,7 @@ static const NWidgetPart _nested_build_docks_depot_widgets[] = { }; static const WindowDesc _build_docks_depot_desc( - WDP_AUTO, WDP_AUTO, 204, 86, + WDP_AUTO, 204, 86, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_docks_depot_widgets, lengthof(_nested_build_docks_depot_widgets) -- cgit v1.2.3-54-g00ecf