summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
commit293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch)
tree4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/autoreplace_gui.cpp
parentb58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff)
downloadopenttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
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 544c5b49e..be39297f3 100644
--- a/src/autoreplace_gui.cpp
+++ b/src/autoreplace_gui.cpp
@@ -530,7 +530,7 @@ static const NWidgetPart _nested_replace_rail_vehicle_widgets[] = {
};
static const WindowDesc _replace_rail_vehicle_desc(
- WDP_AUTO, WDP_AUTO, 456, 140,
+ WDP_AUTO, 456, 140,
WC_REPLACE_VEHICLE, WC_NONE,
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
_nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets)
@@ -561,7 +561,7 @@ static const NWidgetPart _nested_replace_vehicle_widgets[] = {
};
static const WindowDesc _replace_vehicle_desc(
- WDP_AUTO, WDP_AUTO, 456, 118,
+ WDP_AUTO, 456, 118,
WC_REPLACE_VEHICLE, WC_NONE,
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
_nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets)