diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-08-08 13:58:53 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-08 13:58:53 +0000 |
| commit | d76116a21117042420d79ee2c10cecb5fdb237a9 (patch) | |
| tree | 766372e341a4fb692f0b2571513f1c1a00da2031 /apps | |
| parent | a46a5d3ed98277bee5f004f6b272d6ba9802bafc (diff) | |
| download | rockbox-d76116a21117042420d79ee2c10cecb5fdb237a9.zip rockbox-d76116a21117042420d79ee2c10cecb5fdb237a9.tar.gz rockbox-d76116a21117042420d79ee2c10cecb5fdb237a9.tar.bz2 rockbox-d76116a21117042420d79ee2c10cecb5fdb237a9.tar.xz | |
Fix for double-slash fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1614 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index be542bd..63bd902 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -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] ) { |