From a53b85a52a71b84cc3137da8b7cbfb035a5285cb Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 26 Mar 2008 13:34:47 +0000 Subject: fix themes not being fully applied to the menu on load (Hopefully fixes FS#8808) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16819 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 13 +++---------- 1 file 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, temp->function->param); else return_value = temp->function->function(); - - /* check if a new lang was loaded. IF this isnt done then - the title for "General Settings" will be fudged untill - the settings menu is exited and reentered */ - if (temp->flags&MENU_HAS_DESC && - temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE)) - { - init_default_menu_viewports(menu_vp, hide_bars); - init_menu_lists(menu, &lists, selected, true, vps); - } + + init_default_menu_viewports(menu_vp, hide_bars); + init_menu_lists(menu, &lists, selected, true, vps); if (temp->flags&MENU_FUNC_CHECK_RETVAL) { -- cgit v1.2.3