diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 4 |
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); |