summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-10-28 23:31:45 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-10-28 23:31:45 +0000
commitdb8d79db7ef946b3d531f3c2cfa55dfdc35c7793 (patch)
treea5faed61d92bfd131377c0dcbb4cac6372c55f00 /apps/filetypes.c
parentd789e418847a527ffcfb90ed3443fb05efa2da04 (diff)
Remove unused #define and correct comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index b442a9ec2c..593085cbd4 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -130,12 +130,11 @@ void tree_get_filetypes(const struct filetype** types, int* count)
}
/* mask for dynamic filetype info in attribute */
-#define FILETYPES_MASK 0xFF00
#define ROCK_EXTENSION "rock"
struct file_type {
int icon; /* the icon which shall be used for it, NOICON if unknown */
- unsigned char attr; /* FILETYPES_MASK >> 8 */
+ unsigned char attr; /* FILE_ATTR_MASK >> 8 */
char* plugin; /* Which plugin to use, NULL if unknown, or builtin */
char* extension; /* NULL for none */
};