summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-12-17 02:37:21 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-12-17 02:37:21 +0000
commitf5ec3e49e0687eda7b9059942c23321f9878becf (patch)
tree7961798bfa368d0e0d191317b24ff0918eb981ca /apps/tree.c
parentf6039466fb275f55be16113bbbf46872f90862c8 (diff)
downloadrockbox-f5ec3e49e0687eda7b9059942c23321f9878becf.tar.gz
rockbox-f5ec3e49e0687eda7b9059942c23321f9878becf.zip
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
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
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)
330 gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); 330 gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb);
331 gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon); 331 gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon);
332#ifdef HAVE_LCD_COLOR 332#ifdef HAVE_LCD_COLOR
333 gui_list_set_color_callback(&tree_lists.gui_list[SCREEN_MAIN], 333 gui_list_set_color_callback(&tree_lists,
334 &tree_get_filecolor); 334 &tree_get_filecolor);
335#endif 335#endif
336} 336}