summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-03-26 13:34:47 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-03-26 13:34:47 +0000
commita53b85a52a71b84cc3137da8b7cbfb035a5285cb (patch)
treea100382c21dc2506fe1b7b162f6cb925c86cec51 /apps/menu.c
parent08cabe91694ae7cb4fbf75d22f17dfa0363e41dc (diff)
downloadrockbox-a53b85a52a71b84cc3137da8b7cbfb035a5285cb.tar.gz
rockbox-a53b85a52a71b84cc3137da8b7cbfb035a5285cb.tar.bz2
rockbox-a53b85a52a71b84cc3137da8b7cbfb035a5285cb.zip
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
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,
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)
{