summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-08-16 18:32:25 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-08-16 18:32:25 +0000
commitc20801b71210daaed53d576be0ae7c24d04440df (patch)
tree708cf03918fbde8edf430f502a893e4cd0660402
parent18a8e529b5d14413dce83cdb9103f3426db10708 (diff)
downloadrockbox-c20801b71210daaed53d576be0ae7c24d04440df.tar.gz
rockbox-c20801b71210daaed53d576be0ae7c24d04440df.tar.bz2
rockbox-c20801b71210daaed53d576be0ae7c24d04440df.zip
fix player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22351 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_display.c4
-rw-r--r--apps/gui/skin_engine/skin_parser.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c
index 4e264b0489..9f310073cb 100644
--- a/apps/gui/skin_engine/skin_display.c
+++ b/apps/gui/skin_engine/skin_display.c
@@ -476,6 +476,7 @@ static bool evaluate_conditional(struct gui_wps *gwps, int *token_index)
return true;
}
+#ifdef HAVE_LCD_BITMAP
struct gui_img* find_image(int n, struct wps_data *data)
{
struct skin_token_list *list = data->images;
@@ -487,7 +488,8 @@ struct gui_img* find_image(int n, struct wps_data *data)
list = list->next;
}
return NULL;
-}
+}
+#endif
/* Read a (sub)line to the given alignment format buffer.
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 4445ee86c3..56e9e2b897 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -884,6 +884,7 @@ static int parse_progressbar(const char *wps_bufptr,
/* Skip the rest of the line */
return skip_end_of_line(wps_bufptr)-1;
#else
+ (void)token;
if (*(wps_bufptr-1) == 'f')
wps_data->full_line_progressbar = true;