diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2002-09-17 07:42:21 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2002-09-17 07:42:21 +0000 |
| commit | c2c8d1cd1e910ade611e595372ae0a8cd800c8c8 (patch) | |
| tree | 72d8e070c034b935e7c3eb998b3bd43b6e91333f | |
| parent | 04adfe270356d7460dfd1c442c6e7caa3c4cd7dc (diff) | |
| download | rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.zip rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.tar.gz rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.tar.bz2 rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.tar.xz | |
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
| -rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 21aa78c..b86f606 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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; |