diff options
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r-- | apps/menus/main_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 98f664eda6..54fdb55b09 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c | |||
@@ -147,7 +147,7 @@ enum infoscreenorder | |||
147 | INFO_DISK1, /* capacity or internal capacity/free on hotswap */ | 147 | INFO_DISK1, /* capacity or internal capacity/free on hotswap */ |
148 | INFO_DISK2, /* free space or external capacity/free on hotswap */ | 148 | INFO_DISK2, /* free space or external capacity/free on hotswap */ |
149 | INFO_BUFFER, | 149 | INFO_BUFFER, |
150 | #if ((CONFIG_PLATFORM&PLATFORM_HOSTED) == 0) | 150 | #ifndef APPLICATION |
151 | INFO_SKIN_USAGE, /* ram usage of the skins */ | 151 | INFO_SKIN_USAGE, /* ram usage of the skins */ |
152 | #endif | 152 | #endif |
153 | INFO_VERSION, | 153 | INFO_VERSION, |
@@ -159,7 +159,7 @@ static const char* info_getname(int selected_item, void *data, | |||
159 | { | 159 | { |
160 | struct info_data *info = (struct info_data*)data; | 160 | struct info_data *info = (struct info_data*)data; |
161 | char s1[32]; | 161 | char s1[32]; |
162 | #if defined(HAVE_MULTIVOLUME) || ((CONFIG_PLATFORM&PLATFORM_HOSTED) == 0) | 162 | #if defined(HAVE_MULTIVOLUME) || !defined(APPLICATION) |
163 | char s2[32]; | 163 | char s2[32]; |
164 | #endif | 164 | #endif |
165 | if (info->new_data) | 165 | if (info->new_data) |
@@ -246,7 +246,7 @@ static const char* info_getname(int selected_item, void *data, | |||
246 | snprintf(buffer, buffer_len, SIZE_FMT, str(LANG_DISK_SIZE_INFO), s1); | 246 | snprintf(buffer, buffer_len, SIZE_FMT, str(LANG_DISK_SIZE_INFO), s1); |
247 | #endif | 247 | #endif |
248 | break; | 248 | break; |
249 | #if ((CONFIG_PLATFORM&PLATFORM_HOSTED) == 0) | 249 | #ifndef APPLICATION |
250 | case INFO_SKIN_USAGE: | 250 | case INFO_SKIN_USAGE: |
251 | output_dyn_value(s1, sizeof s1, skin_buffer_usage(), byte_units, true); | 251 | output_dyn_value(s1, sizeof s1, skin_buffer_usage(), byte_units, true); |
252 | output_dyn_value(s2, sizeof s2, skin_buffer_usage() | 252 | output_dyn_value(s2, sizeof s2, skin_buffer_usage() |
@@ -334,7 +334,7 @@ static int info_speak_item(int selected_item, void * data) | |||
334 | output_dyn_value(NULL, 0, info->size, kbyte_units, true); | 334 | output_dyn_value(NULL, 0, info->size, kbyte_units, true); |
335 | #endif | 335 | #endif |
336 | break; | 336 | break; |
337 | #if ((CONFIG_PLATFORM&PLATFORM_HOSTED) == 0) | 337 | #ifndef APPLICATION |
338 | case INFO_SKIN_USAGE: | 338 | case INFO_SKIN_USAGE: |
339 | talk_id(LANG_SKIN_RAM_USAGE, false); | 339 | talk_id(LANG_SKIN_RAM_USAGE, false); |
340 | output_dyn_value(NULL, 0, skin_buffer_usage(), byte_units, true); | 340 | output_dyn_value(NULL, 0, skin_buffer_usage(), byte_units, true); |