summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 09:41:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 09:41:51 +0000
commit689eef3342fa6092c87e8cc8a033e1d4210ba1ea (patch)
tree8728c1c8ee2004ce4742f57768ff5deb6166f00e
parent8cdac9eecb75aba40f4db8b01d67883e0879b073 (diff)
downloadrockbox-689eef3342fa6092c87e8cc8a033e1d4210ba1ea.tar.gz
rockbox-689eef3342fa6092c87e8cc8a033e1d4210ba1ea.zip
Patch #889885 by Benjamin Metzler, fixes a bug with bookmarks in the root directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4396 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/bookmark.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 646be3b1cd..32521a3868 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -1004,8 +1004,6 @@ static bool parse_bookmark(char *bookmark,
if (end)
{
local_resume_file = strtok_r(NULL, ";", &end);
- if (local_resume_file[strlen(local_resume_file) - 1] == '/')
- local_resume_file[strlen(local_resume_file) - 1] = '\0';
if (end)
local_file_name = strtok_r(NULL, ";", &end);