From 56435c8775398080a08c2b265e03bba386c352fd Mon Sep 17 00:00:00 2001 From: darkvater Date: Tue, 7 Sep 2004 21:48:09 +0000 Subject: (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 --- widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget.c') diff --git a/widget.c b/widget.c index d56304287..e5b1300dd 100644 --- a/widget.c +++ b/widget.c @@ -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) -- cgit v1.2.3-54-g00ecf