Changeset - r9324:5111ffdfca77
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-05-22 00:47:42
smatz@openttd.org
(svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -1153,7 +1153,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) :
 
										int disabled_items) :
 
			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),
0 comments (0 inline, 0 general)