summaryrefslogtreecommitdiff
path: root/src/order_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/order_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/order_gui.cpp')
-rw-r--r--src/order_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 788a99c77..a4895b9c2 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -1336,7 +1336,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = {
};
static const WindowDesc _orders_train_desc(
- WDP_AUTO, WDP_AUTO, 384, 100,
+ WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
0,
_nested_orders_train_widgets, lengthof(_nested_orders_train_widgets)
@@ -1400,7 +1400,7 @@ static const NWidgetPart _nested_orders_widgets[] = {
};
static const WindowDesc _orders_desc(
- WDP_AUTO, WDP_AUTO, 384, 100,
+ WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
0,
_nested_orders_widgets, lengthof(_nested_orders_widgets)
@@ -1426,7 +1426,7 @@ static const NWidgetPart _nested_other_orders_widgets[] = {
};
static const WindowDesc _other_orders_desc(
- WDP_AUTO, WDP_AUTO, 384, 86,
+ WDP_AUTO, 384, 86,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
_nested_other_orders_widgets, lengthof(_nested_other_orders_widgets)