summaryrefslogtreecommitdiff
path: root/apps/shortcuts.c
diff options
context:
space:
mode:
authorStéphane Doyon <s.doyon@videotron.ca>2011-12-29 21:30:28 +0000
committerStéphane Doyon <s.doyon@videotron.ca>2011-12-29 21:30:28 +0000
commitc17b0af89edb9818a195d72d80a41f457cc54a39 (patch)
treed9dbc7f5cbb34d76e2bdd32368c794e83daaa445 /apps/shortcuts.c
parent2403f38c1fd8bc35d4d8e4b12047265366fbf1b7 (diff)
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.c5
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)
break;
case SHORTCUT_TIME:
#if CONFIG_RTC
- if (sc->u.timedata.talktime)
+ if (sc->u.timedata.talktime) {
talk_timedate();
- else
+ talk_force_enqueue_next();
+ } else
#endif
{
char timer_buf[10];