diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-21 02:00:36 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-11-21 21:27:10 -0500 |
commit | 2056878e46321b5d22b814a535c0cc4a5184f5b9 (patch) | |
tree | a61ac30487fb6a47247c6bb92a4548624829e855 /apps/filetypes.h | |
parent | 658cc9588569af9cba054ad6f1b1e92204961d20 (diff) | |
download | rockbox-2056878e46321b5d22b814a535c0cc4a5184f5b9.tar.gz rockbox-2056878e46321b5d22b814a535c0cc4a5184f5b9.zip |
move inbuilt_filetypes.icon to a separate struct
there are a lot of duplicated icons in the inbuilt_filetypes struct
its only used at load so deduplicate and look-up by attr
Change-Id: I5eb34e5243d88688984f689e0add08f92d953a6f
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r-- | apps/filetypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h index efe9f3f5df..767a26fc1f 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h | |||
@@ -53,9 +53,9 @@ | |||
53 | struct filetype { | 53 | struct filetype { |
54 | char* extension; | 54 | char* extension; |
55 | int tree_attr; | 55 | int tree_attr; |
56 | enum themable_icons icon; | ||
57 | int voiceclip; | 56 | int voiceclip; |
58 | }; | 57 | }; |
58 | |||
59 | void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; | 59 | void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; |
60 | 60 | ||
61 | /* init the filetypes structs. | 61 | /* init the filetypes structs. |