diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-07-28 10:05:07 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-07-28 10:07:27 -0400 |
commit | c2139db6c5cb235d05103602903ee5454a5f401e (patch) | |
tree | 6d258ad15f196ae8e1a5f047f722225ee896463d /apps/menus | |
parent | 51fe1b670551e866e5c78083a32b3187d7876bb5 (diff) |
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
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/main_menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
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,11 +311,13 @@ 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; } |