When automatically loading the last bookmark and the file couldn't be found, nothing much seemed to happen. Show 'Nothing to resume' in this case, so the user has a clue that something went wrong. Should perhaps use a different message in this case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16145 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5570ab2713
commit
9d6f6aa5fd
1 changed files with 6 additions and 0 deletions
|
@ -1145,7 +1145,13 @@ void bookmark_play(char *resume_file, int index, int offset, int seed,
|
|||
if (i < playlist_amount())
|
||||
index = i;
|
||||
else
|
||||
{
|
||||
/* File not found, so bail out. Maybe not the best
|
||||
* message; perhaps "Bookmarked file not found"?
|
||||
*/
|
||||
gui_syncsplash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME));
|
||||
return;
|
||||
}
|
||||
}
|
||||
playlist_start(index,offset);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue