summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-15 10:26:01 +0000
committerrubidium <rubidium@openttd.org>2009-11-15 10:26:01 +0000
commit3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0 (patch)
tree0bdb2f03353e6bb6431da2f85db3bfa1812ce348 /src/depot_gui.cpp
parent1b72fa84e25c38d3642acf9a7cbbaf8d59ecb9e8 (diff)
downloadopenttd-3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0.tar.xz
(svn r18086) -Codechange: remove 'widget' from WindowDesc
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 0617ab435..4b06bc576 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -95,28 +95,28 @@ static const WindowDesc _train_depot_desc(
WDP_AUTO, WDP_AUTO, 36, 27, 362, 123,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
- NULL, _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
+ _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _road_depot_desc(
WDP_AUTO, WDP_AUTO, 36, 27, 316, 97,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
- NULL, _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
+ _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _ship_depot_desc(
WDP_AUTO, WDP_AUTO, 36, 27, 306, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
- NULL, _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
+ _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _aircraft_depot_desc(
WDP_AUTO, WDP_AUTO, 36, 27, 332, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
- NULL, _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
+ _nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
extern void DepotSortList(VehicleList *list);