summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-07-07 17:30:53 +0000
committerAlexander Levin <al.le@rockbox.org>2010-07-07 17:30:53 +0000
commitf8e7870cf576e7b8662b29a4ac4f83ae8516b1cd (patch)
tree41ed0e050d9eb32d9eddae9f6d3bda19d6a2dfcd /apps/bookmark.c
parent8ee65d0ab4c2106afe319f61ae7e9c3dc29c68e6 (diff)
downloadrockbox-f8e7870cf576e7b8662b29a4ac4f83ae8516b1cd.tar.gz
rockbox-f8e7870cf576e7b8662b29a4ac4f83ae8516b1cd.tar.bz2
rockbox-f8e7870cf576e7b8662b29a4ac4f83ae8516b1cd.zip
Even more readable code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 6c546bb29b..dc6a09de10 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -179,8 +179,10 @@ bool bookmark_autobookmark(bool prompt_ok)
away. This makes it possible to speak the "Create a Bookmark?"
prompt and the "Bookmark Created" splash. */
audio_stop();
+
if (update)
return write_bookmark(true, bookmark);
+
switch (global_settings.autocreatebookmark)
{
case BOOKMARK_YES: