diff options
author | Stéphane Doyon <s.doyon@videotron.ca> | 2011-12-29 21:30:28 +0000 |
---|---|---|
committer | Stéphane Doyon <s.doyon@videotron.ca> | 2011-12-29 21:30:28 +0000 |
commit | c17b0af89edb9818a195d72d80a41f457cc54a39 (patch) | |
tree | d9dbc7f5cbb34d76e2bdd32368c794e83daaa445 /apps/shortcuts.c | |
parent | 2403f38c1fd8bc35d4d8e4b12047265366fbf1b7 (diff) | |
download | rockbox-c17b0af89edb9818a195d72d80a41f457cc54a39.tar.gz rockbox-c17b0af89edb9818a195d72d80a41f457cc54a39.zip |
Fix shortcut to talk time: force enqueuing otherwise it interrupts itself right away when speaking the shortcut entry again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31465 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 33c22f2262..a90dd80789 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -478,9 +478,10 @@ int do_shortcut_menu(void *ignored) | |||
478 | break; | 478 | break; |
479 | case SHORTCUT_TIME: | 479 | case SHORTCUT_TIME: |
480 | #if CONFIG_RTC | 480 | #if CONFIG_RTC |
481 | if (sc->u.timedata.talktime) | 481 | if (sc->u.timedata.talktime) { |
482 | talk_timedate(); | 482 | talk_timedate(); |
483 | else | 483 | talk_force_enqueue_next(); |
484 | } else | ||
484 | #endif | 485 | #endif |
485 | { | 486 | { |
486 | char timer_buf[10]; | 487 | char timer_buf[10]; |