From 689eef3342fa6092c87e8cc8a033e1d4210ba1ea Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 17 Mar 2004 09:41:51 +0000 Subject: 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 --- apps/bookmark.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/bookmark.c b/apps/bookmark.c index 646be3b..32521a3 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); -- cgit v1.1