diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-06 14:07:27 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-06 14:07:27 +0000 |
commit | d43b85c7edefe0447a7ec307ec5ecacc5385da68 (patch) | |
tree | c431aa298471cc9bfa5556ee79aba8f7bffa5509 /apps/gui/skin_engine | |
parent | d2ab44e3f6ed661d608709ca109f9547fdc07606 (diff) | |
download | rockbox-d43b85c7edefe0447a7ec307ec5ecacc5385da68.tar.gz rockbox-d43b85c7edefe0447a7ec307ec5ecacc5385da68.zip |
fix the last of the error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30464 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 6 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 16aff1523d..373309ff51 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1815,6 +1815,9 @@ static int skin_element_callback(struct skin_element* element, void* data) | |||
1815 | case SKIN_TOKEN_IMAGE_DISPLAY: | 1815 | case SKIN_TOKEN_IMAGE_DISPLAY: |
1816 | function = parse_image_load; | 1816 | function = parse_image_load; |
1817 | break; | 1817 | break; |
1818 | case SKIN_TOKEN_LIST_ITEM_CFG: | ||
1819 | function = parse_listitemviewport; | ||
1820 | break; | ||
1818 | #endif | 1821 | #endif |
1819 | #ifdef HAVE_TOUCHSCREEN | 1822 | #ifdef HAVE_TOUCHSCREEN |
1820 | case SKIN_TOKEN_TOUCHREGION: | 1823 | case SKIN_TOKEN_TOUCHREGION: |
@@ -1840,9 +1843,6 @@ static int skin_element_callback(struct skin_element* element, void* data) | |||
1840 | function = parse_skinvar; | 1843 | function = parse_skinvar; |
1841 | break; | 1844 | break; |
1842 | #endif | 1845 | #endif |
1843 | case SKIN_TOKEN_LIST_ITEM_CFG: | ||
1844 | function = parse_listitemviewport; | ||
1845 | break; | ||
1846 | default: | 1846 | default: |
1847 | break; | 1847 | break; |
1848 | } | 1848 | } |
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index dd266b1ee6..994ca23553 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -143,12 +143,12 @@ static bool do_non_text_tags(struct gui_wps *gwps, struct skin_draw_info *info, | |||
143 | } | 143 | } |
144 | } | 144 | } |
145 | break; | 145 | break; |
146 | #ifdef HAVE_LCD_BITMAP | ||
146 | case SKIN_TOKEN_LIST_ITEM_CFG: | 147 | case SKIN_TOKEN_LIST_ITEM_CFG: |
147 | if (do_refresh) | 148 | if (do_refresh) |
148 | skinlist_set_cfg(gwps->display->screen_type, | 149 | skinlist_set_cfg(gwps->display->screen_type, |
149 | token->value.data); | 150 | token->value.data); |
150 | break; | 151 | break; |
151 | #ifdef HAVE_LCD_BITMAP | ||
152 | case SKIN_TOKEN_UIVIEWPORT_ENABLE: | 152 | case SKIN_TOKEN_UIVIEWPORT_ENABLE: |
153 | sb_set_info_vp(gwps->display->screen_type, | 153 | sb_set_info_vp(gwps->display->screen_type, |
154 | token->value.data); | 154 | token->value.data); |