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
This commit is contained in:
Peter D'Hoye 2007-08-12 21:59:42 +00:00
parent 542ff8b8c3
commit 05221a9d87

View file

@ -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);