diff --git a/riscos/menus.c b/riscos/menus.c index 102c0e83c..0487ead64 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -637,7 +637,7 @@ void ro_gui_menu_closed(bool cleanup) } current_menu_window = NULL; - current_menu_icon = NULL; + current_menu_icon = 0; current_menu_open = false; gui_form_select_control = NULL; }