diff options
author | darkvater <darkvater@openttd.org> | 2004-09-07 21:48:09 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-07 21:48:09 +0000 |
commit | 56435c8775398080a08c2b265e03bba386c352fd (patch) | |
tree | d9dac613a8413e7aff8dd5a9051cedf736ffa652 /widget.c | |
parent | 3a241b5ccec2b5f5eb803efbd32f55a5d1de5d97 (diff) | |
download | openttd-56435c8775398080a08c2b265e03bba386c352fd.tar.xz |
(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
Diffstat (limited to 'widget.c')
-rw-r--r-- | widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -385,8 +385,8 @@ static byte _dropdown_var1; static byte _dropdown_var2; static Widget _dropdown_menu_widgets[] = { -{ WWT_IMGBTN, 0, 0, 0, 0, 0, 0x0}, -{ WWT_LAST}, +{ WWT_IMGBTN, 0, 0, 0, 0, 0, 0x0, STR_NULL}, +{ WIDGETS_END}, }; static int GetDropdownItem(Window *w) |