1
0
Fork 0
forked from len0rd/rockbox

Fix some bugs with the colors stuff. You can now specify folder color with the folder extension.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13659 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2007-06-17 23:10:01 +00:00
parent d88d2557d0
commit f8682a032e
4 changed files with 31 additions and 11 deletions

View file

@ -171,7 +171,7 @@ static int tree_get_filecolor(int selected_item, void * data)
struct tree_context * local_tc=(struct tree_context *)data;
struct entry* dc = local_tc->dircache;
struct entry* e = &dc[selected_item];
return filetype_get_color(e->attr);
return filetype_get_color(e->name, e->attr);
}
#endif