forked from len0rd/rockbox
fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30463 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
63a379c64c
commit
d2ab44e3f6
1 changed files with 2 additions and 0 deletions
|
|
@ -488,6 +488,7 @@ static int parse_listitemviewport(struct skin_element *element,
|
|||
struct wps_token *token,
|
||||
struct wps_data *wps_data)
|
||||
{
|
||||
#ifndef __PCTOOL__
|
||||
struct listitem_viewport_cfg *cfg =
|
||||
(struct listitem_viewport_cfg *)skin_buffer_alloc(
|
||||
sizeof(struct listitem_viewport_cfg));
|
||||
|
|
@ -506,6 +507,7 @@ static int parse_listitemviewport(struct skin_element *element,
|
|||
!strcmp(element->params[3].data.text, "tile"))
|
||||
cfg->tile = true;
|
||||
token->value.data = (void*)cfg;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue