forked from len0rd/rockbox
tree.c spell names AFTER voicing filetype
Change-Id: Iff2102c2993593f7b3c24f131c0f67f45c870bc7
This commit is contained in:
parent
d077fec5f1
commit
19aa4ca276
1 changed files with 6 additions and 1 deletions
|
|
@ -248,6 +248,7 @@ static int tree_voice_cb(int selected_item, void * data)
|
||||||
did_clip = false;
|
did_clip = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
bool spell_name = false;
|
||||||
if(!did_clip)
|
if(!did_clip)
|
||||||
{
|
{
|
||||||
/* say the number or spell if required or as a fallback */
|
/* say the number or spell if required or as a fallback */
|
||||||
|
|
@ -265,7 +266,7 @@ static int tree_voice_cb(int selected_item, void * data)
|
||||||
if(is_dir)
|
if(is_dir)
|
||||||
talk_id(VOICE_DIR, true);
|
talk_id(VOICE_DIR, true);
|
||||||
}
|
}
|
||||||
talk_spell(name, true);
|
spell_name = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -276,6 +277,10 @@ static int tree_voice_cb(int selected_item, void * data)
|
||||||
say_filetype(attr);
|
say_filetype(attr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* spell name AFTER voicing filetype */
|
||||||
|
if (spell_name)
|
||||||
|
talk_spell(name, true);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue