summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-12-07 15:48:52 +0000
committerpeter1138 <peter1138@openttd.org>2005-12-07 15:48:52 +0000
commit1c5709123082a9fee25f55c04e68abb7fdbba583 (patch)
treed638a6da25b4f6534366438f6b3b5f46acc71a1b /order_gui.c
parent54cb542e1d60987c9e6730b1edbeeb7a294ef437 (diff)
downloadopenttd-1c5709123082a9fee25f55c04e68abb7fdbba583.tar.xz
(svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c
index 7fd02aeeb..66b20c170 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -574,7 +574,7 @@ static const WindowDesc _orders_desc = {
};
static const Widget _other_orders_widgets[] = {
-{ WWT_TEXTBTN, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
+{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
{ WWT_CAPTION, RESIZE_RIGHT, 14, 11, 331, 0, 13, STR_A00B_ORDERS, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_PANEL, RESIZE_RB, 14, 0, 319, 14, 75, 0x0, STR_8852_ORDERS_LIST_CLICK_ON_ORDER},
{ WWT_SCROLLBAR, RESIZE_LRB, 14, 320, 331, 14, 75, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST},