diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-14 18:19:56 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-14 18:19:56 +0000 |
commit | 7e84db7fa20904a17c67d757185ff0d54a52eb05 (patch) | |
tree | 3c7e6a074a00e2f6c3165e91a3b499083ce981b1 | |
parent | 0c5ec36c7afd327a718a5847d631c28fd7c264b0 (diff) | |
download | rockbox-7e84db7fa20904a17c67d757185ff0d54a52eb05.tar.gz rockbox-7e84db7fa20904a17c67d757185ff0d54a52eb05.zip |
Fixed: FS#5801 Playlist building in tagcache doesn't work properly after
changing the language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10572 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/tree.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index ac0e44c7f1..484ed672cd 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -1186,16 +1186,20 @@ bool create_playlist(void) bool rockbox_browse(const char *root, int dirfilter) { static struct tree_context backup; - + int last_context; + backup = tc; reload_dir = true; memcpy(tc.currdir, root, sizeof(tc.currdir)); start_wps = false; tc.dirfilter = &dirfilter; - + last_context = curr_context; + dirbrowse(); tc = backup; + curr_context = last_context; + return false; } |