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:
parent
281f1a1ed6
commit
4ed1340a7c
1 changed files with 3 additions and 3 deletions
|
@ -482,6 +482,8 @@ static int parse_viewport_gradient_setup(struct skin_element *element,
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
|
||||
static int parse_viewporttextstyle(struct skin_element *element,
|
||||
struct wps_token *token,
|
||||
struct wps_data *wps_data)
|
||||
|
@ -525,8 +527,6 @@ static int parse_viewporttextstyle(struct skin_element *element,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
|
||||
|
||||
static int parse_viewportcolour(struct skin_element *element,
|
||||
struct wps_token *token,
|
||||
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:
|
||||
function = parse_image_special;
|
||||
break;
|
||||
#endif
|
||||
case SKIN_TOKEN_VIEWPORT_TEXTSTYLE:
|
||||
function = parse_viewporttextstyle;
|
||||
break;
|
||||
#endif
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
case SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP:
|
||||
function = parse_viewport_gradient_setup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue