diff options
author | peter1138 <peter1138@openttd.org> | 2005-12-07 15:48:52 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-12-07 15:48:52 +0000 |
commit | 1c5709123082a9fee25f55c04e68abb7fdbba583 (patch) | |
tree | d638a6da25b4f6534366438f6b3b5f46acc71a1b /engine_gui.c | |
parent | 54cb542e1d60987c9e6730b1edbeeb7a294ef437 (diff) | |
download | openttd-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 'engine_gui.c')
-rw-r--r-- | engine_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine_gui.c b/engine_gui.c index 2cb213064..401c19def 100644 --- a/engine_gui.c +++ b/engine_gui.c @@ -35,7 +35,7 @@ static StringID GetEngineCategoryName(EngineID engine) } static const Widget _engine_preview_widgets[] = { -{ WWT_TEXTBTN, RESIZE_NONE, 5, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, +{ WWT_CLOSEBOX, RESIZE_NONE, 5, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_NONE, 5, 11, 299, 0, 13, STR_8100_MESSAGE_FROM_VEHICLE_MANUFACTURE, STR_018C_WINDOW_TITLE_DRAG_THIS}, { WWT_IMGBTN, RESIZE_NONE, 5, 0, 299, 14, 191, 0x0, STR_NULL}, { WWT_PUSHTXTBTN, RESIZE_NONE, 5, 85, 144, 172, 183, STR_00C9_NO, STR_NULL}, |