forked from len0rd/rockbox
A not so very elegant fix for bug #918063
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4484 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4760a546cc
commit
47e0079fab
2 changed files with 12 additions and 1 deletions
|
@ -52,6 +52,9 @@ void dac_line_in(bool enable);
|
|||
#include "alarm_menu.h"
|
||||
#endif
|
||||
|
||||
/* This flag is set by dirbrowse() if a new language is loaded */
|
||||
bool language_changed;
|
||||
|
||||
static bool car_adapter_mode(void)
|
||||
{
|
||||
return set_bool_options( str(LANG_CAR_ADAPTER_MODE),
|
||||
|
@ -873,7 +876,9 @@ static bool custom_cfg_browse(void)
|
|||
|
||||
static bool language_browse(void)
|
||||
{
|
||||
return rockbox_browse(ROCKBOX_DIR LANG_DIR, SHOW_LNG);
|
||||
language_changed = false;
|
||||
rockbox_browse(ROCKBOX_DIR LANG_DIR, SHOW_LNG);
|
||||
return language_changed;
|
||||
}
|
||||
|
||||
static bool voice_menus(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue