forked from len0rd/rockbox
Recursive insert now works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6028 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
32791cf796
commit
b9c9d80fef
1 changed files with 7 additions and 1 deletions
|
|
@ -586,8 +586,14 @@ static int add_directory_to_playlist(struct playlist_info* playlist,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* we now need to reload our current directory */
|
/* we now need to reload our current directory */
|
||||||
num_files = ft_load(tc, dirname);
|
if(ft_load(tc, dirname) < 0)
|
||||||
|
{
|
||||||
|
result = -1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
files = (struct entry*) tc->dircache;
|
files = (struct entry*) tc->dircache;
|
||||||
|
num_files = tc->filesindir;
|
||||||
if (!num_files)
|
if (!num_files)
|
||||||
{
|
{
|
||||||
result = -1;
|
result = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue