summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index c74d643c52..cac59bfd64 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -67,7 +67,7 @@ char* playlist_next(int steps, char *dirname)
buf[seek]=0;
/* replace backslashes with forward slashes */
- for ( i=1; i<seek; i++ )
+ for ( i=0; i<seek; i++ )
if ( buf[i] == '\\' )
buf[i] = '/';