forked from len0rd/rockbox
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
This commit is contained in:
parent
0c5ec36c7a
commit
7e84db7fa2
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue