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
This commit is contained in:
Linus Nielsen Feltzing 2004-03-17 09:41:51 +00:00
parent 8cdac9eecb
commit 689eef3342

View file

@ -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);