summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-09 00:48:18 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-09 00:48:18 +0000
commitc58673976379953c089340f95c7730e87762199b (patch)
tree0a06ad0822259dc6991a81fd747688f9aa0627ae /apps/menu.c
parent51afaf20a368c5d6cd3d404fa4d034da6781b346 (diff)
downloadrockbox-c58673976379953c089340f95c7730e87762199b.tar.gz
rockbox-c58673976379953c089340f95c7730e87762199b.tar.bz2
rockbox-c58673976379953c089340f95c7730e87762199b.zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15546 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index c8fc5f6264..75f62565ca 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -482,6 +482,16 @@ 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_menu_lists(menu, &lists, selected, true);
+ }
+
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
{
if (return_value == 1)