From 05221a9d87594d5eff61e956aabb253058334b6a Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sun, 12 Aug 2007 21:59:42 +0000 Subject: 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 --- apps/gui/yesno.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/gui/yesno.c') 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, result = YESNO_NO; } } - FOR_NB_SCREENS(i) - result_displayed=gui_yesno_draw_result(&(yn[i]), result); + + /* extract_talk_ids also converts ID to STR */ extract_talk_ids((result == YESNO_YES) ? yes_message : no_message, voice_ids, sizeof(voice_ids)/sizeof(voice_ids[0])); + + FOR_NB_SCREENS(i) + result_displayed=gui_yesno_draw_result(&(yn[i]), result); + if (talk_menus_enabled()) { talk_idarray(voice_ids, false); -- cgit v1.2.3