summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-10 19:24:14 +0000
committerDarkvater <darkvater@openttd.org>2006-11-10 19:24:14 +0000
commitd50f6c8a8c367ebf2ef0c1a1db14d64366b2243b (patch)
treec1fc1f90d309d87f532278a729d8ba806cc319fd /order_gui.c
parent0d9f80839f80edf41bd8ed75806b7901a553785a (diff)
downloadopenttd-d50f6c8a8c367ebf2ef0c1a1db14d64366b2243b.tar.xz
(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/order_gui.c b/order_gui.c
index d9dbc6203..cc2bbe966 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -583,7 +583,7 @@ static const Widget _orders_train_widgets[] = {
};
static const WindowDesc _orders_train_desc = {
- -1,-1, 399, 88,
+ WDP_AUTO, WDP_AUTO, 399, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
_orders_train_widgets,
@@ -610,7 +610,7 @@ static const Widget _orders_widgets[] = {
};
static const WindowDesc _orders_desc = {
- -1,-1, 410, 88,
+ WDP_AUTO, WDP_AUTO, 410, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
_orders_widgets,
@@ -634,7 +634,7 @@ static const Widget _other_orders_widgets[] = {
};
static const WindowDesc _other_orders_desc = {
- -1,-1, 332, 88,
+ WDP_AUTO, WDP_AUTO, 332, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_other_orders_widgets,