Fixed another cause of 'stuck in subdir' bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5659 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14dd055a86
commit
a4e95ee2e6
|
@ -498,8 +498,7 @@ static bool ask_resume(bool ask_once)
|
|||
/* load tracks from specified directory to resume play */
|
||||
void resume_directory(const char *dir)
|
||||
{
|
||||
strcpy(tc.currdir, dir);
|
||||
if (ft_load(&tc, NULL) < 0)
|
||||
if (ft_load(&tc, dir) < 0)
|
||||
return;
|
||||
lastdir[0] = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user