Even more readable code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27338 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2010-07-07 17:30:53 +00:00
parent 8ee65d0ab4
commit f8e7870cf5

View file

@ -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: