summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/menu.c b/apps/menu.c
index ba772a80fa..de17f2a809 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -560,16 +560,9 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
560 temp->function->param); 560 temp->function->param);
561 else 561 else
562 return_value = temp->function->function(); 562 return_value = temp->function->function();
563 563
564 /* check if a new lang was loaded. IF this isnt done then 564 init_default_menu_viewports(menu_vp, hide_bars);
565 the title for "General Settings" will be fudged untill 565 init_menu_lists(menu, &lists, selected, true, vps);
566 the settings menu is exited and reentered */
567 if (temp->flags&MENU_HAS_DESC &&
568 temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE))
569 {
570 init_default_menu_viewports(menu_vp, hide_bars);
571 init_menu_lists(menu, &lists, selected, true, vps);
572 }
573 566
574 if (temp->flags&MENU_FUNC_CHECK_RETVAL) 567 if (temp->flags&MENU_FUNC_CHECK_RETVAL)
575 { 568 {