summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 4eeec4098d..e5c515f06b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -256,7 +256,7 @@ static int showdir(char *path, int start)
256 dptr->attr |= TREE_ATTR_MPA; 256 dptr->attr |= TREE_ATTR_MPA;
257 else if (!strcasecmp(&entry->d_name[len-4], ".m3u")) 257 else if (!strcasecmp(&entry->d_name[len-4], ".m3u"))
258 dptr->attr |= TREE_ATTR_M3U; 258 dptr->attr |= TREE_ATTR_M3U;
259 else if (!strcasecmp(&entry->d_name[len-3], ".cfg")) 259 else if (!strcasecmp(&entry->d_name[len-4], ".cfg"))
260 dptr->attr |= TREE_ATTR_CFG; 260 dptr->attr |= TREE_ATTR_CFG;
261 else if (!strcasecmp(&entry->d_name[len-4], ".wps")) 261 else if (!strcasecmp(&entry->d_name[len-4], ".wps"))
262 dptr->attr |= TREE_ATTR_WPS; 262 dptr->attr |= TREE_ATTR_WPS;
@@ -384,11 +384,11 @@ static int showdir(char *path, int start)
384 break; 384 break;
385 385
386 case TREE_ATTR_CFG: 386 case TREE_ATTR_CFG:
387 icon_type = Wps; 387 icon_type = Config;
388 break; 388 break;
389 389
390 case TREE_ATTR_TXT: 390 case TREE_ATTR_TXT:
391 icon_type = Wps; 391 icon_type = Text;
392 break; 392 break;
393 393
394 case TREE_ATTR_LNG: 394 case TREE_ATTR_LNG: