summaryrefslogtreecommitdiff
path: root/apps/gui/yesno.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-12 21:59:42 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-12 21:59:42 +0000
commit05221a9d87594d5eff61e956aabb253058334b6a (patch)
treee45945dcf2f8837f1ede5bf6f534ccfa3e9347ae /apps/gui/yesno.c
parent542ff8b8c3517d10e9c040af419372e8016f17d3 (diff)
downloadrockbox-05221a9d87594d5eff61e956aabb253058334b6a.tar.gz
rockbox-05221a9d87594d5eff61e956aabb253058334b6a.zip
Convert IDs to strings before using them, fixes FS #7564
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14304 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/yesno.c')
-rw-r--r--apps/gui/yesno.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 69912637f4..7c8afb3245 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -167,10 +167,14 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
167 result = YESNO_NO; 167 result = YESNO_NO;
168 } 168 }
169 } 169 }
170 FOR_NB_SCREENS(i) 170
171 result_displayed=gui_yesno_draw_result(&(yn[i]), result); 171 /* extract_talk_ids also converts ID to STR */
172 extract_talk_ids((result == YESNO_YES) ? yes_message : no_message, 172 extract_talk_ids((result == YESNO_YES) ? yes_message : no_message,
173 voice_ids, sizeof(voice_ids)/sizeof(voice_ids[0])); 173 voice_ids, sizeof(voice_ids)/sizeof(voice_ids[0]));
174
175 FOR_NB_SCREENS(i)
176 result_displayed=gui_yesno_draw_result(&(yn[i]), result);
177
174 if (talk_menus_enabled()) 178 if (talk_menus_enabled())
175 { 179 {
176 talk_idarray(voice_ids, false); 180 talk_idarray(voice_ids, false);