summaryrefslogtreecommitdiffstats
path: root/apps/screens.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-06-11 08:28:38 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-06-11 08:28:38 +0000
commit24d9f59c784ab07241b51851a2683ea1c90e89e2 (patch)
tree5a9140a80bd279870a5e6d6aa4e6f0d9797eb24f /apps/screens.c
parent0fba85fe9ee8775aed331e4a9f60d91ac78ade9c (diff)
downloadrockbox-24d9f59c784ab07241b51851a2683ea1c90e89e2.tar.gz
rockbox-24d9f59c784ab07241b51851a2683ea1c90e89e2.tar.bz2
rockbox-24d9f59c784ab07241b51851a2683ea1c90e89e2.zip
When recording, disable voice menus without actually modifying user settings. Patch FS#7272, fixes bug FS #6163
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13615 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index e6f0a28c0a..d8e3121121 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -155,7 +155,7 @@ int mmc_remove_request(void)
FOR_NB_SCREENS(i)
screens[i].clear_display();
gui_syncsplash(1, str(LANG_REMOVE_MMC));
- if (global_settings.talk_menu)
+ if (talk_menus_enabled())
talk_id(LANG_REMOVE_MMC, false);
while (1)
@@ -821,7 +821,7 @@ static void say_time(int cursorpos, const struct tm *tm)
static const int unit[] = { UNIT_HOUR, UNIT_MIN, UNIT_SEC, 0, 0, 0 };
int value = 0;
- if (!global_settings.talk_menu)
+ if (!talk_menus_enabled())
return;
switch(cursorpos)