diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-19 04:41:30 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-19 04:41:30 +0000 |
commit | 061b7ebcc8fcf3d62c5e797cb28096a1e134096a (patch) | |
tree | 5ea07ddd03496dc190f3c36d4eb41c40f5b34ef3 /apps/menus/main_menu.c | |
parent | 98756fe4928f25286a2e9aa123cdba4df1163d94 (diff) |
show the skin buffer size as well as the used amount in the rockbox info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22419 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r-- | apps/menus/main_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 132eab9960..1e7465559e 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -169,9 +169,7 @@ static char* info_getname(int selected_item, void *data, { struct info_data *info = (struct info_data*)data; char s1[32]; -#ifdef HAVE_MULTIVOLUME char s2[32]; -#endif if (info->new_data) { fat_size(IF_MV2(0,) &info->size, &info->free); @@ -258,7 +256,9 @@ static char* info_getname(int selected_item, void *data, break; case INFO_SKIN_USAGE: output_dyn_value(s1, sizeof s1, skin_buffer_usage(), byte_units, true); - snprintf(buffer, buffer_len, "%s %s", str(LANG_SKIN_RAM_USAGE), s1); + output_dyn_value(s2, sizeof s2, skin_buffer_usage() + +skin_buffer_freespace(), byte_units, true); + snprintf(buffer, buffer_len, "%s %s / %s", str(LANG_SKIN_RAM_USAGE), s1, s2); break; } return buffer; |