summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-20 22:47:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-20 22:47:25 +0000
commitc04f2ac9fd6e6df033aa910dc70345a36c8d9e6f (patch)
tree17b4e17dbaef91a28c89ad3313d09f1e1cb10cf0
parent7a91f2671c7612f1bb0c87f1c2d412012e1228ae (diff)
Absolute playlists with backslashes now work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1392 a1c6a512-1295-4272-9138-f99709370657
-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] = '/';