1
0
Fork 0
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:
Jonathan Gordon 2011-09-06 13:58:19 +00:00
parent 63a379c64c
commit d2ab44e3f6

View file

@ -488,6 +488,7 @@ static int parse_listitemviewport(struct skin_element *element,
struct wps_token *token, struct wps_token *token,
struct wps_data *wps_data) struct wps_data *wps_data)
{ {
#ifndef __PCTOOL__
struct listitem_viewport_cfg *cfg = struct listitem_viewport_cfg *cfg =
(struct listitem_viewport_cfg *)skin_buffer_alloc( (struct listitem_viewport_cfg *)skin_buffer_alloc(
sizeof(struct listitem_viewport_cfg)); sizeof(struct listitem_viewport_cfg));
@ -506,6 +507,7 @@ static int parse_listitemviewport(struct skin_element *element,
!strcmp(element->params[3].data.text, "tile")) !strcmp(element->params[3].data.text, "tile"))
cfg->tile = true; cfg->tile = true;
token->value.data = (void*)cfg; token->value.data = (void*)cfg;
#endif
return 0; return 0;
} }