diff options
-rw-r--r-- | apps/player/keyboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/player/keyboard.c b/apps/player/keyboard.c index 18880d0c47..dcff7e7d62 100644 --- a/apps/player/keyboard.c +++ b/apps/player/keyboard.c | |||
@@ -75,7 +75,7 @@ static void kbd_spellchar(char c) | |||
75 | { | 75 | { |
76 | static char spell_char[2] = "\0\0"; /* store char to pass to talk_spell */ | 76 | static char spell_char[2] = "\0\0"; /* store char to pass to talk_spell */ |
77 | 77 | ||
78 | if (global_settings.talk_menu) /* voice UI? */ | 78 | if (talk_menus_enabled()) /* voice UI? */ |
79 | { | 79 | { |
80 | spell_char[0] = c; | 80 | spell_char[0] = c; |
81 | talk_spell(spell_char, false); | 81 | talk_spell(spell_char, false); |
@@ -100,7 +100,7 @@ int kbd_input(char* text, int buflen) | |||
100 | 100 | ||
101 | editpos = utf8length(text); | 101 | editpos = utf8length(text); |
102 | 102 | ||
103 | if (global_settings.talk_menu) /* voice UI? */ | 103 | if (talk_menus_enabled()) /* voice UI? */ |
104 | talk_spell(text, true); /* spell initial text */ | 104 | talk_spell(text, true); /* spell initial text */ |
105 | 105 | ||
106 | while (!done) | 106 | while (!done) |
@@ -270,7 +270,7 @@ int kbd_input(char* text, int buflen) | |||
270 | editpos++; | 270 | editpos++; |
271 | } | 271 | } |
272 | } | 272 | } |
273 | if (global_settings.talk_menu) /* voice UI? */ | 273 | if (talk_menus_enabled()) /* voice UI? */ |
274 | talk_spell(text, false); /* speak revised text */ | 274 | talk_spell(text, false); /* speak revised text */ |
275 | break; | 275 | break; |
276 | 276 | ||