summaryrefslogtreecommitdiff
path: root/vehicle_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 /vehicle_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 'vehicle_gui.c')
-rw-r--r--vehicle_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c
index d185e172b..84435dc59 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -1010,7 +1010,7 @@ static const Widget _replace_rail_vehicle_widgets[] = {
{ WWT_PANEL, RESIZE_TB, 14, 0, 138, 198, 209, STR_NULL, STR_NULL},
{ WWT_PANEL, RESIZE_TB, 14, 139, 153, 210, 221, STR_NULL, STR_NULL},
{ WWT_PANEL, RESIZE_TB, 14, 154, 277, 210, 221, STR_NULL, STR_REPLACE_HELP_RAILTYPE},
-{ WWT_CLOSEBOX, RESIZE_TB, 14, 278, 289, 210, 221, STR_0225, STR_REPLACE_HELP_RAILTYPE},
+{ WWT_TEXTBTN, RESIZE_TB, 14, 278, 289, 210, 221, STR_0225, STR_REPLACE_HELP_RAILTYPE},
{ WWT_PANEL, RESIZE_TB, 14, 290, 305, 210, 221, STR_NULL, STR_NULL},
{ WWT_PUSHTXTBTN, RESIZE_TB, 14, 317, 455, 198, 209, STR_REPLACE_REMOVE_WAGON, STR_REPLACE_REMOVE_WAGON_HELP},
// end of train specific stuff