Ninety-nine bugs on the wall, Fix one bug, pass it around, 101 bugs on the wall..
Properly fixes bug introduced in 4beafe1 (and incorrectly fixed in 51fe1b6)
Change-Id: I053bb110746afdc3d9588b1b502a4cb333468a2b
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index f7163209..c1dd364 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -311,11 +311,13 @@
{
volume_size(IF_MV(0,) &info->size, &info->free);
#ifdef HAVE_DIRCACHE
+#ifdef HAVE_MULTIVOLUME
if (volume_ismounted(1))
- volume_size(1, &info->size2, &info->free2);
+ volume_size(1, &info->size2, &info->free2);
else
info->size2 = 0;
#endif
+#endif
info->new_data = false;
}