diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-10-08 10:10:16 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-10-08 10:10:16 +0000 |
commit | b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2 (patch) | |
tree | ac3747446705d9a4ed958b3b741823544cd75dea /apps/tree.c | |
parent | 08181c7ce6b244d35f8c69206267a0c329d2c20c (diff) | |
download | rockbox-b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2.tar.gz rockbox-b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2.zip |
Added new icons for .cfg and .txt files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
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: |