summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-15 15:09:52 +0000
committerludde <ludde@openttd.org>2005-07-15 15:09:52 +0000
commit6246619185ae6e240dabb438a3861750038e0639 (patch)
tree37eff27994a6fc0a501ac19e29cb3cefde9dc65b /order_gui.c
parent275e2f477a2b1b7fca2b52722ce042aec01c1866 (diff)
downloadopenttd-6246619185ae6e240dabb438a3861750038e0639.tar.xz
(svn r2573) Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the new string system.
Also fixed a bug introduced in r2564, forgot to remove 4 global variables in network_gui.c.
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/order_gui.c b/order_gui.c
index a125403be..f0dd46538 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -543,7 +543,7 @@ static const Widget _orders_train_widgets[] = {
static const WindowDesc _orders_train_desc = {
-1,-1, 385, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESTORE_DPARAM | WDF_RESIZABLE,
+ WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_orders_train_widgets,
OrdersWndProc
};
@@ -568,7 +568,7 @@ static const Widget _orders_widgets[] = {
static const WindowDesc _orders_desc = {
-1,-1, 396, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESTORE_DPARAM | WDF_RESIZABLE,
+ WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_orders_widgets,
OrdersWndProc
};