summaryrefslogtreecommitdiff
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.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)
155 FOR_NB_SCREENS(i) 155 FOR_NB_SCREENS(i)
156 screens[i].clear_display(); 156 screens[i].clear_display();
157 gui_syncsplash(1, str(LANG_REMOVE_MMC)); 157 gui_syncsplash(1, str(LANG_REMOVE_MMC));
158 if (global_settings.talk_menu) 158 if (talk_menus_enabled())
159 talk_id(LANG_REMOVE_MMC, false); 159 talk_id(LANG_REMOVE_MMC, false);
160 160
161 while (1) 161 while (1)
@@ -821,7 +821,7 @@ static void say_time(int cursorpos, const struct tm *tm)
821 static const int unit[] = { UNIT_HOUR, UNIT_MIN, UNIT_SEC, 0, 0, 0 }; 821 static const int unit[] = { UNIT_HOUR, UNIT_MIN, UNIT_SEC, 0, 0, 0 };
822 int value = 0; 822 int value = 0;
823 823
824 if (!global_settings.talk_menu) 824 if (!talk_menus_enabled())
825 return; 825 return;
826 826
827 switch(cursorpos) 827 switch(cursorpos)