From ab4dabe252cc457afb14e4e4566dad81a743fe51 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 3 May 2005 21:55:42 +0000 Subject: [project @ 2005-05-03 21:55:42 by rjw] Fix tree menu quirk. svn path=/import/netsurf/; revision=1711 --- riscos/menus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/menus.c') diff --git a/riscos/menus.c b/riscos/menus.c index 88dd8bd7f..f27db2b70 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -517,11 +517,11 @@ void ro_gui_menu_closed(void) { } ro_gui_menu_get_window_details(current_menu_window, &g, &bw, &c, &t, &tree); + current_menu = NULL; if (tree) ro_gui_tree_menu_closed(tree); } - current_menu = NULL; current_menu_window = NULL; current_menu_open = false; gui_form_select_control = NULL; -- cgit v1.2.3