From c2139db6c5cb235d05103602903ee5454a5f401e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 28 Jul 2019 10:05:07 -0400 Subject: [PATCH] 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 --- apps/menus/main_menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index f71632099d..c1dd364481 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -311,10 +311,12 @@ static int info_speak_item(int selected_item, void * data) { 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; }