summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 645aab9..dc2453c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -249,8 +249,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"))
dptr->attr |= TREE_ATTR_M3U;