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.zip rockbox-b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2.tar.gz rockbox-b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2.tar.bz2 rockbox-b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2.tar.xz | |
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 4eeec40..e5c515f 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -256,7 +256,7 @@ static int showdir(char *path, int start) dptr->attr |= TREE_ATTR_MPA; else if (!strcasecmp(&entry->d_name[len-4], ".m3u")) dptr->attr |= TREE_ATTR_M3U; - else if (!strcasecmp(&entry->d_name[len-3], ".cfg")) + else if (!strcasecmp(&entry->d_name[len-4], ".cfg")) dptr->attr |= TREE_ATTR_CFG; else if (!strcasecmp(&entry->d_name[len-4], ".wps")) dptr->attr |= TREE_ATTR_WPS; @@ -384,11 +384,11 @@ static int showdir(char *path, int start) break; case TREE_ATTR_CFG: - icon_type = Wps; + icon_type = Config; break; case TREE_ATTR_TXT: - icon_type = Wps; + icon_type = Text; break; case TREE_ATTR_LNG: |