summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-07 21:48:09 +0000
committerdarkvater <darkvater@openttd.org>2004-09-07 21:48:09 +0000
commit56435c8775398080a08c2b265e03bba386c352fd (patch)
treed9dac613a8413e7aff8dd5a9051cedf736ffa652 /bridge_gui.c
parent3a241b5ccec2b5f5eb803efbd32f55a5d1de5d97 (diff)
downloadopenttd-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 'bridge_gui.c')
-rw-r--r--bridge_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge_gui.c b/bridge_gui.c
index 44bcdfebd..e6f258cff 100644
--- a/bridge_gui.c
+++ b/bridge_gui.c
@@ -79,7 +79,7 @@ static const Widget _build_bridge_widgets[] = {
{ WWT_CAPTION, 7, 11, 199, 0, 13, STR_100D_SELECT_RAIL_BRIDGE, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_MATRIX, 7, 0, 188, 14, 101, 0x401, STR_101F_BRIDGE_SELECTION_CLICK},
{ WWT_SCROLLBAR, 7, 189, 199, 14, 101, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST},
-{ WWT_LAST},
+{ WIDGETS_END},
};
static const WindowDesc _build_bridge_desc = {
@@ -96,7 +96,7 @@ static const Widget _build_road_bridge_widgets[] = {
{ WWT_CAPTION, 7, 11, 199, 0, 13, STR_1803_SELECT_ROAD_BRIDGE, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_MATRIX, 7, 0, 188, 14, 101, 0x401, STR_101F_BRIDGE_SELECTION_CLICK},
{ WWT_SCROLLBAR, 7, 189, 199, 14, 101, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST},
-{ WWT_LAST},
+{ WIDGETS_END},
};
static const WindowDesc _build_road_bridge_desc = {