summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-15 07:30:30 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-15 07:30:30 +0000
commit12173598e448ce7a7a71694221f8d5e10fc57e66 (patch)
tree51e996db7c4187460318598874a5241b24caa1b5 /apps
parentfea4689e91139ed92f2acad3c3c30afcbf1c1794 (diff)
downloadrockbox-12173598e448ce7a7a71694221f8d5e10fc57e66.tar.gz
rockbox-12173598e448ce7a7a71694221f8d5e10fc57e66.tar.bz2
rockbox-12173598e448ce7a7a71694221f8d5e10fc57e66.zip
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index c09a6ef839..cab6f44ff9 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -326,10 +326,12 @@ const char *get_id3_token(struct wps_token *token, struct mp3entry *id3,
* The ones that expect "0" need to be handled */
case WPS_TOKEN_FILE_FREQUENCY:
case WPS_TOKEN_FILE_FREQUENCY_KHZ:
- case WPS_TOKEN_FILE_SIZE:
+ case WPS_TOKEN_FILE_SIZE:
+#ifdef HAVE_TAGCACHE
case WPS_TOKEN_DATABASE_PLAYCOUNT:
case WPS_TOKEN_DATABASE_RATING:
case WPS_TOKEN_DATABASE_AUTOSCORE:
+#endif
if (intval)
*intval = 0;
return "0";