From 7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 20 Jun 2011 19:32:48 +0000 Subject: 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 --- apps/filetypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/filetypes.c') diff --git a/apps/filetypes.c b/apps/filetypes.c index 481c0df..779337e 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 */ -- cgit v1.1