summaryrefslogtreecommitdiff
path: root/src/autoreplace_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/autoreplace_gui.cpp
parent1b72fa84e25c38d3642acf9a7cbbaf8d59ecb9e8 (diff)
downloadopenttd-3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0.tar.xz
(svn r18086) -Codechange: remove 'widget' from WindowDesc
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r--src/autoreplace_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp
index 7441db8fb..cbf7f4588 100644
--- a/src/autoreplace_gui.cpp
+++ b/src/autoreplace_gui.cpp
@@ -528,7 +528,7 @@ static const WindowDesc _replace_rail_vehicle_desc(
WDP_AUTO, WDP_AUTO, 456, 140, 456, 140,
WC_REPLACE_VEHICLE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE | WDF_CONSTRUCTION,
- NULL, _nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets)
+ _nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets)
);
static const NWidgetPart _nested_replace_vehicle_widgets[] = {
@@ -559,7 +559,7 @@ static const WindowDesc _replace_vehicle_desc(
WDP_AUTO, WDP_AUTO, 456, 118, 456, 118,
WC_REPLACE_VEHICLE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE | WDF_CONSTRUCTION,
- NULL, _nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets)
+ _nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets)
);
void ShowReplaceGroupVehicleWindow(GroupID id_g, VehicleType vehicletype)