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/bookmark.c | |
| parent | 5f540c784cea6ce28e9dece8a4db8582386a617b (diff) | |
| download | rockbox-932ef00aba91a183b7063064c4777e1173252b60.zip rockbox-932ef00aba91a183b7063064c4777e1173252b60.tar.gz rockbox-932ef00aba91a183b7063064c4777e1173252b60.tar.bz2 rockbox-932ef00aba91a183b7063064c4777e1173252b60.tar.xz | |
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.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 91c823b..1cebcd7 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; } } |