Fixed follow playlist bug when current track was in root directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
04adfe2703
commit
c2c8d1cd1e
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ void set_current_file(char *path)
|
|||
unsigned int i;
|
||||
|
||||
/* separate directory from filename */
|
||||
name = strrchr(path,'/');
|
||||
name = strrchr(path+1,'/');
|
||||
if (name)
|
||||
{
|
||||
*name = 0;
|
||||
|
|
Loading…
Reference in a new issue