diff --git a/riscos/menus.c b/riscos/menus.c index 3a5d0e481..9d465b9ef 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -715,7 +715,8 @@ void ro_gui_menu_selection(wimp_selection *selection) current_gui->data.browser.toolbar->status_window = !current_gui->data.browser.toolbar->status_window; } - if (ro_theme_update_toolbar(current_gui) || true) { + if (ro_theme_update_toolbar(current_gui->data.browser.toolbar, + current_gui->window) || true) { wimp_window_state state; state.w = current_gui->window; wimp_get_window_state(&state);