diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2008-02-21 21:01:42 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2008-02-21 21:01:42 +0000 |
commit | 932ef00aba91a183b7063064c4777e1173252b60 (patch) | |
tree | 5b0339fba1c3d1be459fbe9f50ac78267498b2ea /apps | |
parent | 5f540c784cea6ce28e9dece8a4db8582386a617b (diff) | |
download | rockbox-932ef00aba91a183b7063064c4777e1173252b60.tar.gz rockbox-932ef00aba91a183b7063064c4777e1173252b60.zip |
When failing to auto-load a bookmark, don't show the 'Nothing to resume' message. The selected file will (hopefully) be played instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16364 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/bookmark.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 91c823b018..1cebcd718f 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -450,7 +450,11 @@ bool bookmark_load(const char* file, bool autoload) | |||
450 | if (!play_bookmark(bookmark)) | 450 | if (!play_bookmark(bookmark)) |
451 | { | 451 | { |
452 | /* Selected bookmark not found. */ | 452 | /* Selected bookmark not found. */ |
453 | gui_syncsplash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME)); | 453 | if (!autoload) |
454 | { | ||
455 | gui_syncsplash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME)); | ||
456 | } | ||
457 | |||
454 | return false; | 458 | return false; |
455 | } | 459 | } |
456 | } | 460 | } |