summaryrefslogtreecommitdiff
path: root/apps/player/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/player/keyboard.c')
-rw-r--r--apps/player/keyboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/player/keyboard.c b/apps/player/keyboard.c
index c89161c8ca..dad8fc0f55 100644
--- a/apps/player/keyboard.c
+++ b/apps/player/keyboard.c
@@ -74,7 +74,7 @@ static unsigned short *kbd_setupkeys(int page, int* len)
74/* helper function to spell a char if voice UI is enabled */ 74/* helper function to spell a char if voice UI is enabled */
75static void kbd_spellchar(char c) 75static void kbd_spellchar(char c)
76{ 76{
77 if (talk_menus_enabled()) /* voice UI? */ 77 if (global_settings.talk_menu) /* voice UI? */
78 { 78 {
79 unsigned char tmp[5]; 79 unsigned char tmp[5];
80 /* store char to pass to talk_spell */ 80 /* store char to pass to talk_spell */
@@ -90,7 +90,7 @@ static void kbd_spellchar(char c)
90 90
91static void say_edit(void) 91static void say_edit(void)
92{ 92{
93 if (talk_menus_enabled()) 93 if (global_settings.talk_menu)
94 talk_id(VOICE_EDIT, false); 94 talk_id(VOICE_EDIT, false);
95} 95}
96 96
@@ -112,7 +112,7 @@ int kbd_input(char* text, int buflen)
112 112
113 editpos = utf8length(text); 113 editpos = utf8length(text);
114 114
115 if (talk_menus_enabled()) /* voice UI? */ 115 if (global_settings.talk_menu) /* voice UI? */
116 talk_spell(text, true); /* spell initial text */ 116 talk_spell(text, true); /* spell initial text */
117 117
118 while (!done) 118 while (!done)
@@ -284,7 +284,7 @@ int kbd_input(char* text, int buflen)
284 editpos++; 284 editpos++;
285 } 285 }
286 } 286 }
287 if (talk_menus_enabled()) /* voice UI? */ 287 if (global_settings.talk_menu) /* voice UI? */
288 talk_spell(text, false); /* speak revised text */ 288 talk_spell(text, false); /* speak revised text */
289 break; 289 break;
290 290