summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-10-19 15:31:42 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-10-19 15:31:42 +0000
commit32a95751301a4aa5f51ea76b7eb3764d197dd6e3 (patch)
tree860d5e0c767cc53d038bb72ff19c237215dd3eee /apps/menu.c
parent877ea486bad40bde6f8b969acc8af50f244884c0 (diff)
downloadrockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.tar.gz
rockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.zip
FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 1dedc42a5c..55f1938b80 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -225,7 +225,7 @@ static void talk_menu_item(const struct menu_item_ex *menu,
225 unsigned char *str; 225 unsigned char *str;
226 int sel; 226 int sel;
227 227
228 if (talk_menus_enabled()) 228 if (global_settings.talk_menu)
229 { 229 {
230 sel = get_menu_selection(gui_synclist_get_sel_pos(lists),menu); 230 sel = get_menu_selection(gui_synclist_get_sel_pos(lists),menu);
231 if ((menu->flags&MENU_TYPE_MASK) == MT_MENU) 231 if ((menu->flags&MENU_TYPE_MASK) == MT_MENU)