diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index a790400754..d0fe47fa2c 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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 |