summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-11-22 02:07:56 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2024-11-22 02:07:56 -0500
commitb73fc15f1fff433e36cc50352f124e08f47594d3 (patch)
tree7f9463682d58a4ca692b2372a84f6a39433333c6
parent4340f33b631ae924f5edf0379ffc848aa76f092e (diff)
downloadrockbox-b73fc15f1f.tar.gz
rockbox-b73fc15f1f.zip
[FixRed] Info menu Devices without HAVE_RECORDING
Change-Id: I61ffcfdf81ed286e620adddf5801c8eaa08b2a4c
-rw-r--r--apps/menus/main_menu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 12bf08484d..5923ae9681 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -214,14 +214,10 @@ static int info_speak_item(int selected_item, void * data)
switch (selected_item)
{
- case INFO_VERSION_TITLE: /*fallthrough*/
- case INFO_REC_DIR_TITLE: /*fallthrough*/
- case INFO_ROOT_DIR_TITLE: /*fallthrough*/
- break;
-
case INFO_VERSION: /* version */
talk_id(LANG_VERSION, false);
talk_spell(rbversion, true);
+ case INFO_VERSION_TITLE: /*fallthrough*/
break;
#if CONFIG_RTC
@@ -251,11 +247,13 @@ static int info_speak_item(int selected_item, void * data)
{
talk_fullpath(global_settings.rec_directory, true);
}
+ case INFO_REC_DIR_TITLE: /*fallthrough*/
break;
#endif
case INFO_ROOT_DIR:
talk_id(LANG_DISPLAY_FULL_PATH, false);
talk_fullpath(root_realpath(), true);
+ case INFO_ROOT_DIR_TITLE: /*fallthrough*/
break;
case INFO_BUFFER: /* buffer */
{