diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index ee23520fcd..2e00447b22 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -216,8 +216,8 @@ static int showdir(char *path, int start) | |||
216 | /* mark mp? and m3u files as such */ | 216 | /* mark mp? and m3u files as such */ |
217 | if ( !(dptr->attr & ATTR_DIRECTORY) && (len > 4) ) { | 217 | if ( !(dptr->attr & ATTR_DIRECTORY) && (len > 4) ) { |
218 | if (!strcasecmp(&entry->d_name[len-4], ".mp3") || | 218 | if (!strcasecmp(&entry->d_name[len-4], ".mp3") || |
219 | (!strcasecmp(&entry->d_name[len-4], ".mp2") || | 219 | (!strcasecmp(&entry->d_name[len-4], ".mp2")) || |
220 | (!strcasecmp(&entry->d_name[len-4], ".mpa")) | 220 | (!strcasecmp(&entry->d_name[len-4], ".mpa"))) |
221 | dptr->attr |= TREE_ATTR_MPA; | 221 | dptr->attr |= TREE_ATTR_MPA; |
222 | else | 222 | else |
223 | if (!strcasecmp(&entry->d_name[len-4], ".m3u")) | 223 | if (!strcasecmp(&entry->d_name[len-4], ".m3u")) |