summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPaul Louden <paulthenerd@gmail.com>2007-06-19 09:53:58 +0000
committerPaul Louden <paulthenerd@gmail.com>2007-06-19 09:53:58 +0000
commit9727d151a0b2ebedfa1dde7577e0009451ad82a3 (patch)
tree0246b0b75696e6841ee0271b4e53761f7a4ddf61 /apps
parent01f90d6b375f6d3744d0132435bbc2fc4d8f3e92 (diff)
downloadrockbox-9727d151a0b2ebedfa1dde7577e0009451ad82a3.tar.gz
rockbox-9727d151a0b2ebedfa1dde7577e0009451ad82a3.zip
Fix Database to use the foreground colour, as the colours feature has
not been implemented for it yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13673 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index d0fe47fa2c..e3735beb1b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -168,6 +168,8 @@ static char * tree_get_filename(int selected_item, void * data, char *buffer)
#ifdef HAVE_LCD_COLOR
static int tree_get_filecolor(int selected_item, void * data)
{
+ if (*tc.dirfilter == SHOW_ID3DB)
+ return -1;
struct tree_context * local_tc=(struct tree_context *)data;
struct entry* dc = local_tc->dircache;
struct entry* e = &dc[selected_item];