1
0
Fork 0
forked from len0rd/rockbox

Fix for double-slash fix

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1614 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-08-08 13:58:53 +00:00
parent a46a5d3ed9
commit d76116a211

View file

@ -125,7 +125,7 @@ char* playlist_next(int steps)
}
else {
strncpy(dir_buf, playlist.filename, playlist.dirlen-1);
dir_buf[playlist.dirlen] = 0;
dir_buf[playlist.dirlen-1] = 0;
/* handle dos style drive letter */
if ( ':' == buf[1] ) {