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
This commit is contained in:
Thomas Martitz 2011-06-20 19:32:48 +00:00
parent 26ec41b028
commit 7b374b43b5
3 changed files with 4 additions and 5 deletions

View file

@ -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 */