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:
parent
a46a5d3ed9
commit
d76116a211
1 changed files with 1 additions and 1 deletions
|
|
@ -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] ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue