summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-11 21:19:03 +0000
committerrubidium <rubidium@openttd.org>2008-04-11 21:19:03 +0000
commit00d23c57b3686b4ee07683dadd74d42708386fec (patch)
tree1661f6eed42f8c6bc72dfa3d80cc8ecb304bc82e /src/order_gui.cpp
parent02a907f3060b89d461d6286af7f1528742114ea5 (diff)
downloadopenttd-00d23c57b3686b4ee07683dadd74d42708386fec.tar.xz
(svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI.
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 46ed659bd..28f3f04f0 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -51,6 +51,11 @@ enum OrderWindowWidgets {
ORDER_WIDGET_RESIZE,
};
+struct order_d {
+ int sel;
+};
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(order_d));
+
/**
* Return the memorised selected order.
*