summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index a3671a076f..961a14043c 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -1213,18 +1213,11 @@ int bookmark_autoload(const char* file)
if (bookmark != NULL)
{
if (!play_bookmark(bookmark))
- {
- /* Selected bookmark not found. */
- splash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME));
- }
-
- /* Act as if autoload was done even if it failed, since the
- * user did make an active selection.
- */
+ return BOOKMARK_CANCEL;
return BOOKMARK_DO_RESUME;
}
- return ret != (BOOKMARK_SUCCESS ? BOOKMARK_CANCEL : BOOKMARK_DONT_RESUME);
+ return (ret != BOOKMARK_SUCCESS) ? BOOKMARK_CANCEL : BOOKMARK_DONT_RESUME;
}
}