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)
67 buf[seek]=0; 67 buf[seek]=0;
68 68
69 /* replace backslashes with forward slashes */ 69 /* replace backslashes with forward slashes */
70 for ( i=1; i<seek; i++ ) 70 for ( i=0; i<seek; i++ )
71 if ( buf[i] == '\\' ) 71 if ( buf[i] == '\\' )
72 buf[i] = '/'; 72 buf[i] = '/';
73 73