diff options
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index b7bb045411..59c7e92d90 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -482,6 +482,8 @@ static int parse_viewport_gradient_setup(struct skin_element *element, | |||
482 | return 0; | 482 | return 0; |
483 | } | 483 | } |
484 | #endif | 484 | #endif |
485 | |||
486 | #if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) | ||
485 | static int parse_viewporttextstyle(struct skin_element *element, | 487 | static int parse_viewporttextstyle(struct skin_element *element, |
486 | struct wps_token *token, | 488 | struct wps_token *token, |
487 | struct wps_data *wps_data) | 489 | struct wps_data *wps_data) |
@@ -525,8 +527,6 @@ static int parse_viewporttextstyle(struct skin_element *element, | |||
525 | return 0; | 527 | return 0; |
526 | } | 528 | } |
527 | 529 | ||
528 | #if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) | ||
529 | |||
530 | static int parse_viewportcolour(struct skin_element *element, | 530 | static int parse_viewportcolour(struct skin_element *element, |
531 | struct wps_token *token, | 531 | struct wps_token *token, |
532 | struct wps_data *wps_data) | 532 | struct wps_data *wps_data) |
@@ -1759,10 +1759,10 @@ static int skin_element_callback(struct skin_element* element, void* data) | |||
1759 | case SKIN_TOKEN_IMAGE_BACKDROP: | 1759 | case SKIN_TOKEN_IMAGE_BACKDROP: |
1760 | function = parse_image_special; | 1760 | function = parse_image_special; |
1761 | break; | 1761 | break; |
1762 | #endif | ||
1763 | case SKIN_TOKEN_VIEWPORT_TEXTSTYLE: | 1762 | case SKIN_TOKEN_VIEWPORT_TEXTSTYLE: |
1764 | function = parse_viewporttextstyle; | 1763 | function = parse_viewporttextstyle; |
1765 | break; | 1764 | break; |
1765 | #endif | ||
1766 | #ifdef HAVE_LCD_COLOR | 1766 | #ifdef HAVE_LCD_COLOR |
1767 | case SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP: | 1767 | case SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP: |
1768 | function = parse_viewport_gradient_setup; | 1768 | function = parse_viewport_gradient_setup; |