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:
Björn Stenberg 2005-01-25 08:55:21 +00:00
parent 14dd055a86
commit a4e95ee2e6

View File

@ -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;