From b7638221cd4f247fe00d4ee0f2c7c7ef625b24e2 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 8 Oct 2002 10:10:16 +0000 Subject: Added new icons for .cfg and .txt files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2522 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/tree.c') 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) 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: -- cgit v1.2.3