diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-08 10:29:14 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-08 10:29:14 +0000 |
| commit | 1cbe4c2e057e3226af3e12eaf2ec29a23152cc9e (patch) | |
| tree | 7cb128e42cd981919bffd39bf933e8fd6d9c14df | |
| parent | aed65abdc58fdca0c7cbeb476f3e9196e518b3f9 (diff) | |
| download | rockbox-1cbe4c2e057e3226af3e12eaf2ec29a23152cc9e.zip rockbox-1cbe4c2e057e3226af3e12eaf2ec29a23152cc9e.tar.gz rockbox-1cbe4c2e057e3226af3e12eaf2ec29a23152cc9e.tar.bz2 rockbox-1cbe4c2e057e3226af3e12eaf2ec29a23152cc9e.tar.xz | |
Removed the extra slash between the dir and filename for relative paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1608 a1c6a512-1295-4272-9138-f99709370657
| -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 48c66db..be542bd 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -124,7 +124,7 @@ char* playlist_next(int steps) return now_playing; } else { - strncpy(dir_buf, playlist.filename, playlist.dirlen); + strncpy(dir_buf, playlist.filename, playlist.dirlen-1); dir_buf[playlist.dirlen] = 0; /* handle dos style drive letter */ |