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 645aab9c1c..dc2453c21c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -249,8 +249,8 @@ static int showdir(char *path, int start)
249 /* mark mp? and m3u files as such */ 249 /* mark mp? and m3u files as such */
250 if ( !(dptr->attr & ATTR_DIRECTORY) && (len > 4) ) { 250 if ( !(dptr->attr & ATTR_DIRECTORY) && (len > 4) ) {
251 if (!strcasecmp(&entry->d_name[len-4], ".mp3") || 251 if (!strcasecmp(&entry->d_name[len-4], ".mp3") ||
252 (!strcasecmp(&entry->d_name[len-4], ".mp2")) || 252 (!strcasecmp(&entry->d_name[len-4], ".mp2")) ||
253 (!strcasecmp(&entry->d_name[len-4], ".mpa"))) 253 (!strcasecmp(&entry->d_name[len-4], ".mpa")))
254 dptr->attr |= TREE_ATTR_MPA; 254 dptr->attr |= TREE_ATTR_MPA;
255 else if (!strcasecmp(&entry->d_name[len-4], ".m3u")) 255 else if (!strcasecmp(&entry->d_name[len-4], ".m3u"))
256 dptr->attr |= TREE_ATTR_M3U; 256 dptr->attr |= TREE_ATTR_M3U;