summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index c8234d5e97..a84d935a21 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1079,7 +1079,11 @@ bool bookmark_play(char *resume_file, int index, int offset, int seed,
1079 peek_filename = playlist_peek(index); 1079 peek_filename = playlist_peek(index);
1080 1080
1081 if (peek_filename == NULL) 1081 if (peek_filename == NULL)
1082 return false; 1082 {
1083 peek_filename = playlist_peek(0);
1084 if (peek_filename == NULL)
1085 return false;
1086 }
1083 1087
1084 if (strcmp(strrchr(peek_filename, '/') + 1, filename)) 1088 if (strcmp(strrchr(peek_filename, '/') + 1, filename))
1085 { 1089 {