From 0114cc825d8a23ff99ce3a667aebc0ed21b0339f Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Wed, 29 Jan 2014 16:54:34 +0000 Subject: Provide a dedicated interface for destroying open menus. Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means. The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself. --- riscos/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/print.c') diff --git a/riscos/print.c b/riscos/print.c index 09d4aaefb..c539f011c 100644 --- a/riscos/print.c +++ b/riscos/print.c @@ -525,7 +525,7 @@ void ro_print_cleanup(void) print_text_black = false; print_prev_message = 0; print_max_sheets = -1; - ro_gui_menu_closed(); + ro_gui_menu_destroy(); ro_gui_dialog_close(dialog_print); } -- cgit v1.2.3