summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-07 18:18:16 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-23 20:23:52 +0100
commitcbc57af0f3192093177d90861df72c4074566cf8 (patch)
tree488601bd953a51bd31ccc230c6cb80cd1fcbe02b /apps/menus
parent5802141beccf90f06904178a5c51b281d23eba13 (diff)
downloadrockbox-cbc57af0f3192093177d90861df72c4074566cf8.tar.gz
rockbox-cbc57af0f3192093177d90861df72c4074566cf8.tar.bz2
rockbox-cbc57af0f3192093177d90861df72c4074566cf8.zip
Fix for HAVE_MULTIDRIVE on application builds.
Change-Id: I089ea4756e0c824993c65062290c40b3e67f9181
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/main_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 8445d67035..6a1295996c 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -162,9 +162,11 @@ static const char* info_getname(int selected_item, void *data,
{
fat_size(IF_MV(0,) &info->size, &info->free);
#ifdef HAVE_MULTIVOLUME
+#ifndef APPLICATION
if (fat_ismounted(1))
fat_size(1, &info->size2, &info->free2);
else
+#endif
info->size2 = 0;
#endif
info->new_data = false;
@@ -432,4 +434,3 @@ MAKE_MENU(main_menu_, ID2P(LANG_SETTINGS), mainmenu_callback,
);
/* MAIN MENU */
/***********************************/
-