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) | |
download | rockbox-c2139db6c5cb235d05103602903ee5454a5f401e.tar.gz rockbox-c2139db6c5cb235d05103602903ee5454a5f401e.zip |
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) | |||
311 | { | 311 | { |
312 | volume_size(IF_MV(0,) &info->size, &info->free); | 312 | volume_size(IF_MV(0,) &info->size, &info->free); |
313 | #ifdef HAVE_DIRCACHE | 313 | #ifdef HAVE_DIRCACHE |
314 | #ifdef HAVE_MULTIVOLUME | ||
314 | if (volume_ismounted(1)) | 315 | if (volume_ismounted(1)) |
315 | volume_size(1, &info->size2, &info->free2); | 316 | volume_size(1, &info->size2, &info->free2); |
316 | else | 317 | else |
317 | info->size2 = 0; | 318 | info->size2 = 0; |
318 | #endif | 319 | #endif |
320 | #endif | ||
319 | info->new_data = false; | 321 | info->new_data = false; |
320 | } | 322 | } |
321 | 323 | ||