summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index d1f073645b..eae5ca2021 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -243,7 +243,7 @@ static void put_cursor(int m, int target)
243 if (do_update) 243 if (do_update)
244 { /* "say" the entry under the cursor */ 244 { /* "say" the entry under the cursor */
245 int voice_id = menus[m].items[menus[m].cursor].voice_id; 245 int voice_id = menus[m].items[menus[m].cursor].voice_id;
246 if (voice_id >= 0) /* valid ID given? */ 246 if (voice_id >= 0 && global_settings.talk_menu) /* valid ID given? */
247 talk_id(voice_id, false); /* say it */ 247 talk_id(voice_id, false); /* say it */
248 } 248 }
249 249
@@ -320,7 +320,7 @@ int menu_show(int m)
320 320
321 /* say current entry */ 321 /* say current entry */
322 voice_id = menus[m].items[menus[m].cursor].voice_id; 322 voice_id = menus[m].items[menus[m].cursor].voice_id;
323 if (voice_id >= 0) /* valid ID given? */ 323 if (voice_id >= 0 && global_settings.talk_menu) /* valid ID given? */
324 talk_id(voice_id, false); /* say it */ 324 talk_id(voice_id, false); /* say it */
325 325
326 while (!exit) { 326 while (!exit) {