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.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/apps/player/keyboard.c b/apps/player/keyboard.c
index 6baa0d5c90..c89161c8ca 100644
--- a/apps/player/keyboard.c
+++ b/apps/player/keyboard.c
@@ -76,14 +76,15 @@ static void kbd_spellchar(char c)
76{ 76{
77 if (talk_menus_enabled()) /* voice UI? */ 77 if (talk_menus_enabled()) /* 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 */
81 unsigned char* utf8 = utf8encode(c, tmp); 81 unsigned char* utf8 = utf8encode(c, tmp);
82 *utf8 = 0; 82 *utf8 = 0;
83 83
84 if(c == ' ') 84 if(c == ' ')
85 talk_id(VOICE_BLANK, false); 85 talk_id(VOICE_BLANK, false);
86 else talk_spell(tmp, false); 86 else
87 talk_spell(tmp, false);
87 } 88 }
88} 89}
89 90