summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-09-16 14:01:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-09-16 14:01:43 +0000
commit10b6861bfdf29bdbb257fe04cbbc9a50e9924307 (patch)
treee9268a3277492da20f3209cb37ac28be3757adea
parentfbb008331d45b45224a03b68627e420f0bcb3849 (diff)
downloadrockbox-10b6861bfdf29bdbb257fe04cbbc9a50e9924307.tar.gz
rockbox-10b6861bfdf29bdbb257fe04cbbc9a50e9924307.tar.bz2
rockbox-10b6861bfdf29bdbb257fe04cbbc9a50e9924307.zip
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28094 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 117a926fa3..faf03ec0f1 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1373,7 +1373,9 @@ static int skin_element_callback(struct skin_element* element, void* data)
function = parse_statusbar_tags;
break;
case SKIN_TOKEN_LIST_TITLE_TEXT:
+#ifndef __PCTOOL__
sb_skin_has_title(curr_screen);
+#endif
break;
#endif
case SKIN_TOKEN_FILE_DIRECTORY:
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index b5c32584b1..bf024c7e2e 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -705,7 +705,7 @@ const char *get_token_value(struct gui_wps *gwps,
if (intval)
*intval = playlist_amount();
return buf;
-
+#ifdef HAVE_LCD_BITMAP
case SKIN_TOKEN_LIST_TITLE_TEXT:
return sb_get_title(gwps->display->screen_type);
case SKIN_TOKEN_LIST_TITLE_ICON:
@@ -713,7 +713,7 @@ const char *get_token_value(struct gui_wps *gwps,
*intval = sb_get_icon(gwps->display->screen_type);
snprintf(buf, buf_size, "%d",sb_get_icon(gwps->display->screen_type));
return buf;
-
+#endif
case SKIN_TOKEN_PLAYLIST_NAME:
return playlist_name(NULL, buf, buf_size);