summaryrefslogtreecommitdiff
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2008-02-21 21:01:42 +0000
committerMagnus Holmgren <magnushol@gmail.com>2008-02-21 21:01:42 +0000
commit932ef00aba91a183b7063064c4777e1173252b60 (patch)
tree5b0339fba1c3d1be459fbe9f50ac78267498b2ea /apps/bookmark.c
parent5f540c784cea6ce28e9dece8a4db8582386a617b (diff)
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/bookmark.c')
-rw-r--r--apps/bookmark.c6
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)
if (!play_bookmark(bookmark))
{
/* Selected bookmark not found. */
- gui_syncsplash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME));
+ if (!autoload)
+ {
+ gui_syncsplash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME));
+ }
+
return false;
}
}