summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index afdef29228..47447fc85b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -209,8 +209,7 @@ static int build_playlist(int start_index)
for(i = 0;i < filesindir;i++)
{
- if((dircache[i].attr & TREE_ATTR_MASK) == TREE_ATTR_MPA
- && (strcmp(dircache[i].name, dir_thumbnail_name) != 0))
+ if((dircache[i].attr & TREE_ATTR_MASK) == TREE_ATTR_MPA)
{
DEBUGF("Adding %s\n", dircache[i].name);
if (playlist_add(dircache[i].name) < 0)