summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index ee23520..2e00447 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -216,8 +216,8 @@ static int showdir(char *path, int start)
/* mark mp? and m3u files as such */
if ( !(dptr->attr & ATTR_DIRECTORY) && (len > 4) ) {
if (!strcasecmp(&entry->d_name[len-4], ".mp3") ||
- (!strcasecmp(&entry->d_name[len-4], ".mp2") ||
- (!strcasecmp(&entry->d_name[len-4], ".mpa"))
+ (!strcasecmp(&entry->d_name[len-4], ".mp2")) ||
+ (!strcasecmp(&entry->d_name[len-4], ".mpa")))
dptr->attr |= TREE_ATTR_MPA;
else
if (!strcasecmp(&entry->d_name[len-4], ".m3u"))