Slightly rearranged lines to execute only what's really needed. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27314 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7d4c0c5e7e
commit
2c56ac8448
1 changed files with 3 additions and 3 deletions
|
@ -166,13 +166,13 @@ bool bookmark_mrb_load()
|
|||
bool bookmark_autobookmark(bool prompt_ok)
|
||||
{
|
||||
char* bookmark;
|
||||
bool update = false;
|
||||
bool update;
|
||||
|
||||
if (!is_bookmarkable_state())
|
||||
return false;
|
||||
|
||||
audio_pause(); /* first pause playback */
|
||||
if (global_settings.autoupdatebookmark && bookmark_exists())
|
||||
update = true;
|
||||
update = (global_settings.autoupdatebookmark && bookmark_exists());
|
||||
bookmark = create_bookmark();
|
||||
/* Workaround for inability to speak when paused: all callers will
|
||||
just do audio_stop() when we return, so we can do it right
|
||||
|
|
Loading…
Reference in a new issue