(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
This commit is contained in:
darkvater
2004-09-07 21:48:09 +00:00
parent 3a241b5cce
commit 56435c8775
29 changed files with 1063 additions and 1063 deletions

View File

@@ -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)