summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.h
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.h
parent26ec41b028acfee3533def925c9abd705b66864c (diff)
downloadrockbox-7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61.tar.gz
rockbox-7b374b43b5023cbc2b5f3b043f95ce3fa9a39b61.tar.bz2
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.h')
-rw-r--r--apps/filetypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h
index a957f1631f..0b50b45580 100644
--- a/apps/filetypes.h
+++ b/apps/filetypes.h
@@ -51,8 +51,8 @@
struct filetype {
char* extension;
int tree_attr;
- int icon;
int voiceclip;
+ enum themable_icons icon;
};
void tree_get_filetypes(const struct filetype**, int*);