diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-17 09:41:51 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-17 09:41:51 +0000 |
commit | 689eef3342fa6092c87e8cc8a033e1d4210ba1ea (patch) | |
tree | 8728c1c8ee2004ce4742f57768ff5deb6166f00e /apps/bookmark.c | |
parent | 8cdac9eecb75aba40f4db8b01d67883e0879b073 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 2 |
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, | |||
1004 | if (end) | 1004 | if (end) |
1005 | { | 1005 | { |
1006 | local_resume_file = strtok_r(NULL, ";", &end); | 1006 | local_resume_file = strtok_r(NULL, ";", &end); |
1007 | if (local_resume_file[strlen(local_resume_file) - 1] == '/') | ||
1008 | local_resume_file[strlen(local_resume_file) - 1] = '\0'; | ||
1009 | 1007 | ||
1010 | if (end) | 1008 | if (end) |
1011 | local_file_name = strtok_r(NULL, ";", &end); | 1009 | local_file_name = strtok_r(NULL, ";", &end); |