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:
parent
a80d7ce36e
commit
9983a04253
1 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue