summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-08-12 15:38:11 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-08-12 15:38:11 -0400
commit8c25fcfbf0c9d8af41845902994719760745950b (patch)
treec9480f3d88d609a2325c03cfa56832ca1400c684
parent05354e1befcaf02e333dbaca42d19d0a3e853a0d (diff)
downloadrockbox-8c25fcfbf0.tar.gz
rockbox-8c25fcfbf0.zip
...fix more red from 15e52374
Change-Id: Ibbfb89b2c40c0ac8b5a514f130d7b672afb866fa
-rw-r--r--apps/menus/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 61e8a70ecd..2fa5be5623 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -185,7 +185,7 @@ static int refresh_data(struct info_data *info)
max = drive;
else if (drive < max)
break;
-#elif defined(HAVE_HOTSWAP) || defined(HAVE_DIRCACHE) || defined(HAVE_BOOTDATA)
+#elif defined(HAVE_MULTIVOLUME) && (defined(HAVE_HOTSWAP) || defined(HAVE_HOTSWAP) || defined(HAVE_DIRCACHE) || defined(HAVE_BOOTDATA))
if (volume_partition(i) == -1)
break;
#endif