summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2002-09-17 07:42:21 +0000
committerHardeep Sidhu <dyp@pobox.com>2002-09-17 07:42:21 +0000
commitc2c8d1cd1e910ade611e595372ae0a8cd800c8c8 (patch)
tree72d8e070c034b935e7c3eb998b3bd43b6e91333f /apps
parent04adfe270356d7460dfd1c442c6e7caa3c4cd7dc (diff)
downloadrockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.tar.gz
rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.tar.bz2
rockbox-c2c8d1cd1e910ade611e595372ae0a8cd800c8c8.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 21aa78c74d..b86f606cc6 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;