(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.

This commit is contained in:
rubidium
2009-11-28 14:42:35 +00:00
parent b58b058e2b
commit 293dfd7c3e
48 changed files with 159 additions and 173 deletions

View File

@@ -89,28 +89,28 @@ static const NWidgetPart _nested_train_depot_widgets[] = {
};
static const WindowDesc _train_depot_desc(
WDP_AUTO, WDP_AUTO, 362, 123,
WDP_AUTO, 362, 123,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _road_depot_desc(
WDP_AUTO, WDP_AUTO, 316, 97,
WDP_AUTO, 316, 97,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _ship_depot_desc(
WDP_AUTO, WDP_AUTO, 306, 99,
WDP_AUTO, 306, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _aircraft_depot_desc(
WDP_AUTO, WDP_AUTO, 332, 99,
WDP_AUTO, 332, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)