Partial fix for FS#10614. Can now resume from a bookmark even if the bookmark index is wrong.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jeffrey Goode 2010-04-09 20:08:48 +00:00
parent a80d7ce36e
commit 9983a04253

View file

@ -1079,7 +1079,11 @@ bool bookmark_play(char *resume_file, int index, int offset, int seed,
peek_filename = playlist_peek(index);
if (peek_filename == NULL)
return false;
{
peek_filename = playlist_peek(0);
if (peek_filename == NULL)
return false;
}
if (strcmp(strrchr(peek_filename, '/') + 1, filename))
{