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:
Magnus Holmgren 2008-01-22 22:38:32 +00:00
parent 5570ab2713
commit 9d6f6aa5fd

View file

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