From 932ef00aba91a183b7063064c4777e1173252b60 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Thu, 21 Feb 2008 21:01:42 +0000 Subject: 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 --- apps/bookmark.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps') 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; } } -- cgit