diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 5a64be17dc..369bd46be5 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -303,7 +303,9 @@ static void do_tags_in_hidden_conditional(struct skin_element* branch, | |||
303 | else if (branch->type == LINE && branch->children_count) | 303 | else if (branch->type == LINE && branch->children_count) |
304 | { | 304 | { |
305 | struct skin_element *child = branch->children[0]; | 305 | struct skin_element *child = branch->children[0]; |
306 | #if defined(HAVE_LCD_BITMAP) || defined(HAVE_ALBUMART) | ||
306 | struct wps_token *token; | 307 | struct wps_token *token; |
308 | #endif | ||
307 | while (child) | 309 | while (child) |
308 | { | 310 | { |
309 | if (child->type == CONDITIONAL) | 311 | if (child->type == CONDITIONAL) |
@@ -321,7 +323,9 @@ static void do_tags_in_hidden_conditional(struct skin_element* branch, | |||
321 | child = child->next; | 323 | child = child->next; |
322 | continue; | 324 | continue; |
323 | } | 325 | } |
326 | #if defined(HAVE_LCD_BITMAP) || defined(HAVE_ALBUMART) | ||
324 | token = (struct wps_token *)child->data; | 327 | token = (struct wps_token *)child->data; |
328 | #endif | ||
325 | #ifdef HAVE_LCD_BITMAP | 329 | #ifdef HAVE_LCD_BITMAP |
326 | /* clear all pictures in the conditional and nested ones */ | 330 | /* clear all pictures in the conditional and nested ones */ |
327 | if (token->type == SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY) | 331 | if (token->type == SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY) |