From 2056878e46321b5d22b814a535c0cc4a5184f5b9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 21 Nov 2022 02:00:36 -0500 Subject: 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 --- apps/filetypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/filetypes.h') 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 @@ struct filetype { char* extension; int tree_attr; - enum themable_icons icon; int voiceclip; }; + void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; /* init the filetypes structs. -- cgit v1.2.3