From f5ec3e49e0687eda7b9059942c23321f9878becf Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 17 Dec 2007 02:37:21 +0000 Subject: remove the duplicated gui_list struct and only duplicate the members which are actually different on each screen. should translate to a smaller bin and easier code (users shouldnt notice any difference) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15947 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index b800833c7d..35fa05364a 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -330,7 +330,7 @@ void tree_gui_init(void) gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon); #ifdef HAVE_LCD_COLOR - gui_list_set_color_callback(&tree_lists.gui_list[SCREEN_MAIN], + gui_list_set_color_callback(&tree_lists, &tree_get_filecolor); #endif } -- cgit v1.2.3