1
0
Fork 0
forked from len0rd/rockbox

Fix player errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30303 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-08-14 13:56:10 +00:00
parent 281f1a1ed6
commit 4ed1340a7c

View file

@ -482,6 +482,8 @@ static int parse_viewport_gradient_setup(struct skin_element *element,
return 0; return 0;
} }
#endif #endif
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
static int parse_viewporttextstyle(struct skin_element *element, static int parse_viewporttextstyle(struct skin_element *element,
struct wps_token *token, struct wps_token *token,
struct wps_data *wps_data) struct wps_data *wps_data)
@ -525,8 +527,6 @@ static int parse_viewporttextstyle(struct skin_element *element,
return 0; return 0;
} }
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
static int parse_viewportcolour(struct skin_element *element, static int parse_viewportcolour(struct skin_element *element,
struct wps_token *token, struct wps_token *token,
struct wps_data *wps_data) struct wps_data *wps_data)
@ -1759,10 +1759,10 @@ static int skin_element_callback(struct skin_element* element, void* data)
case SKIN_TOKEN_IMAGE_BACKDROP: case SKIN_TOKEN_IMAGE_BACKDROP:
function = parse_image_special; function = parse_image_special;
break; break;
#endif
case SKIN_TOKEN_VIEWPORT_TEXTSTYLE: case SKIN_TOKEN_VIEWPORT_TEXTSTYLE:
function = parse_viewporttextstyle; function = parse_viewporttextstyle;
break; break;
#endif
#ifdef HAVE_LCD_COLOR #ifdef HAVE_LCD_COLOR
case SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP: case SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP:
function = parse_viewport_gradient_setup; function = parse_viewport_gradient_setup;