From a21d3fc63b0b5b936f5d59d9abcd3c1d03ed5bb5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 18 May 2008 20:40:30 +0000 Subject: (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. --- src/toolbar_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/toolbar_gui.cpp') diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 0a3be270e..b41b6c1d7 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1125,7 +1125,7 @@ struct ToolbarMenuWindow : Window { ToolbarMenuWindow(int x, int y, int width, int height, const Widget *widgets, int item_count, int sel_index, int parent_button, StringID base_string, int checked_items, int disabled_mask) : - Window(x, y, width, height, NULL, WC_TOOLBAR_MENU, widgets), + Window(x, y, width, height, WC_TOOLBAR_MENU, widgets), item_count(item_count), sel_index(sel_index), main_button(GB(parent_button, 0, 8)), action_id((GB(parent_button, 8, 8) != 0) ? GB(parent_button, 8, 8) : parent_button), checked_items(checked_items), disabled_items(disabled_items), base_string(base_string) @@ -1280,7 +1280,7 @@ struct ToolbarPlayerMenuWindow : Window { int gray_items; ToolbarPlayerMenuWindow(int x, int y, int width, int height, const Widget *widgets, int main_button, int gray) : - Window(x, y, width, height, NULL, WC_TOOLBAR_MENU, widgets), + Window(x, y, width, height, WC_TOOLBAR_MENU, widgets), item_count(0), main_button(main_button), action_id(main_button), gray_items(gray) { this->flags4 &= ~WF_WHITE_BORDER_MASK; -- cgit v1.2.3-54-g00ecf