summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-11-23 23:06:15 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-11-23 23:07:12 -0500
commitf24bae5baff55b6303289ecface9dc85157375ea (patch)
tree3cd3a1bfc6403b1a0f3a8f78d84146c0cfd1f8f7
parentfb2316b9b028421612fa8d0e764c752bb135ff98 (diff)
downloadrockbox-f24bae5baf.tar.gz
rockbox-f24bae5baf.zip
...This time, fix the non-multidrive+non-multivolume builds.
I swear, this is getting old. Change-Id: If810a6559eaebbed0a0f0c6a0891b09101783be6
-rw-r--r--apps/menus/main_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 9e054047a4..579c651108 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -205,7 +205,9 @@ static int refresh_data(struct info_data *info)
else
#endif
info->name[i] = 0;
+#ifdef HAVE_MULTIVOLUME
break; /* ie stop when we run out of valid partitions */
+#endif
}
#ifdef HAVE_MULTIDRIVE
}