summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-06-20 19:32:48 +0000
committerThomas Martitz <kugel@rockbox.org>2011-06-20 19:32:48 +0000
commit7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61 (patch)
tree84a9ccb54ac1786395c3c0fe637dc84cd04b7343 /apps/filetypes.c
parent26ec41b028acfee3533def925c9abd705b66864c (diff)
downloadrockbox-7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61.tar.gz
rockbox-7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61.zip
Use enum themable_icons in struct file_type and struct filetype (who made those names?).
It's the correct type and should save some memory due to struct padding (on eabi). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30027 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index 481c0df6de..779337e0ca 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -159,7 +159,7 @@ void tree_get_filetypes(const struct filetype** types, int* count)
#define ROCK_EXTENSION "rock"
struct file_type {
- int icon; /* the icon which shall be used for it, NOICON if unknown */
+ enum themable_icons icon; /* the icon which shall be used for it, NOICON if unknown */
unsigned char attr; /* FILE_ATTR_MASK >> 8 */
char* plugin; /* Which plugin to use, NULL if unknown, or builtin */
char* extension; /* NULL for none */