summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-09 22:55:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-09 22:55:40 +0000
commit47e0079fab59c1a1b26e22ca82f73abddbb3089b (patch)
tree1c4321417522df2ba4d4885bc93b3c63799a4e77 /apps/tree.c
parent4760a546ccbd0e15b6052a26eb95ea2f4859c9dd (diff)
A not so very elegant fix for bug #918063
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4484 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 8417e9a65e..afdef29228 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -64,6 +64,10 @@
#define BOOTFILE "archos.mod"
#endif
+/* This flag is set by dirbrowse() if a new language is loaded.
+ It is defined in settings_menu.c */
+extern bool language_changed;
+
/* a table for the know file types */
static struct
{
@@ -1179,6 +1183,8 @@ static bool dirbrowse(char *root, int *dirfilter)
talk_init(); /* use voice of same language */
splash(HZ, true, str(LANG_LANGUAGE_LOADED));
restore = true;
+
+ language_changed = true;
}
break;