summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-09-30 13:09:50 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-09-30 13:09:50 +0000
commit55a63609ef1bf24c3594eeb2f6eca92cba81bae5 (patch)
tree4636c15a93666b0f10087c6685582cc8af12b597 /apps/plugins/pictureflow
parent2dbe569aff3d7f5cab3efff30b6467e02560df91 (diff)
downloadrockbox-55a63609ef1bf24c3594eeb2f6eca92cba81bae5.tar.gz
rockbox-55a63609ef1bf24c3594eeb2f6eca92cba81bae5.tar.bz2
rockbox-55a63609ef1bf24c3594eeb2f6eca92cba81bae5.zip
use correct condition for #if for tagcache_fill_tags().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 8ad62b0238..7627ff4a53 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -948,7 +948,7 @@ bool get_albumart_for_index_from_db(const int slide_index, char *buf,
struct mp3entry id3;
int fd;
-#ifdef HAVE_TC_RAMCACHE
+#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE)
if (rb->tagcache_fill_tags(&id3, tcs.result))
{
rb->strlcpy(id3.path, tcs.result, sizeof(id3.path));