forked from len0rd/rockbox
...forgot one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13616 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
24d9f59c78
commit
53b1aaf7b0
1 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ static void kbd_spellchar(char c)
|
||||||
{
|
{
|
||||||
static char spell_char[2] = "\0\0"; /* store char to pass to talk_spell */
|
static char spell_char[2] = "\0\0"; /* store char to pass to talk_spell */
|
||||||
|
|
||||||
if (global_settings.talk_menu) /* voice UI? */
|
if (talk_menus_enabled()) /* voice UI? */
|
||||||
{
|
{
|
||||||
spell_char[0] = c;
|
spell_char[0] = c;
|
||||||
talk_spell(spell_char, false);
|
talk_spell(spell_char, false);
|
||||||
|
|
@ -100,7 +100,7 @@ int kbd_input(char* text, int buflen)
|
||||||
|
|
||||||
editpos = utf8length(text);
|
editpos = utf8length(text);
|
||||||
|
|
||||||
if (global_settings.talk_menu) /* voice UI? */
|
if (talk_menus_enabled()) /* voice UI? */
|
||||||
talk_spell(text, true); /* spell initial text */
|
talk_spell(text, true); /* spell initial text */
|
||||||
|
|
||||||
while (!done)
|
while (!done)
|
||||||
|
|
@ -270,7 +270,7 @@ int kbd_input(char* text, int buflen)
|
||||||
editpos++;
|
editpos++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (global_settings.talk_menu) /* voice UI? */
|
if (talk_menus_enabled()) /* voice UI? */
|
||||||
talk_spell(text, false); /* speak revised text */
|
talk_spell(text, false); /* speak revised text */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue