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
This commit is contained in:
Paul Louden 2007-06-19 09:53:58 +00:00
parent 01f90d6b37
commit 9727d151a0

View file

@ -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];