Only voice track insertion splash if voice menus enabled - fix for FS#9223

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18147 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2008-07-29 13:32:47 +00:00
parent 34dc7c445a
commit fa98298983
2 changed files with 3 additions and 3 deletions

View file

@ -319,8 +319,8 @@ static int display_playlists(char* playlist, bool view)
static void display_insert_count(int count)
{
static long talked_tick = 0;
if(count && (talked_tick == 0
|| TIME_AFTER(current_tick, talked_tick+5*HZ)))
if(global_settings.talk_menu && count &&
(talked_tick == 0 || TIME_AFTER(current_tick, talked_tick+5*HZ)))
{
talked_tick = current_tick;
talk_number(count, false);