summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/bookmark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index b2ff1aafbc..6c546bb29b 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -166,13 +166,13 @@ bool bookmark_mrb_load()
166bool bookmark_autobookmark(bool prompt_ok) 166bool bookmark_autobookmark(bool prompt_ok)
167{ 167{
168 char* bookmark; 168 char* bookmark;
169 bool update = false; 169 bool update;
170
170 if (!is_bookmarkable_state()) 171 if (!is_bookmarkable_state())
171 return false; 172 return false;
172 173
173 audio_pause(); /* first pause playback */ 174 audio_pause(); /* first pause playback */
174 if (global_settings.autoupdatebookmark && bookmark_exists()) 175 update = (global_settings.autoupdatebookmark && bookmark_exists());
175 update = true;
176 bookmark = create_bookmark(); 176 bookmark = create_bookmark();
177 /* Workaround for inability to speak when paused: all callers will 177 /* Workaround for inability to speak when paused: all callers will
178 just do audio_stop() when we return, so we can do it right 178 just do audio_stop() when we return, so we can do it right