summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index a1068c2..b19ffaa 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1233,12 +1233,12 @@ void bookmark_play(char *resume_file, int index, int offset, int seed,
/* Check if the file is at the same spot in the directory,
else search for it */
- if ((strcmp(strrchr(playlist_peek(index) + 1,'/') + 1,
+ if ((strcmp(strrchr(playlist_peek(index),'/') + 1,
filename)))
{
for ( i=0; i < playlist_amount(); i++ )
{
- if ((strcmp(strrchr(playlist_peek(i) + 1,'/') + 1,
+ if ((strcmp(strrchr(playlist_peek(i),'/') + 1,
filename)) == 0)
break;
}