summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-21 18:39:18 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-21 18:39:18 +0000
commitbccfae0a58515e489c3aa7f412154db56ae205d6 (patch)
treee541651d8cd61b1ddd44e4860a6c7e5a8784901e /apps/tree.c
parentf839ccb36fb40bb81e88ebca1f0ce6f572b01a51 (diff)
Fixed crash with early USB. The USB screen already uses some of the new GUI code, so we have to init before. Fixed problem with gui_syncstatusbar_init() drawing the status bar(s) right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index f484463d2d..bed4fb28fc 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -213,8 +213,6 @@ bool check_rockboxdir(void)
void browse_root(void)
{
- /* essential to all programs that wants to display things */
- screen_access_init();
gui_sync_wps_screen_init();
filetype_init();
@@ -232,7 +230,6 @@ void browse_root(void)
/* since archos only have one screen, no need to create more than that */
gui_buttonbar_set_display(&tree_buttonbar, &(screens[SCREEN_MAIN]) );
#endif
- gui_syncstatusbar_init(&statusbars);
gui_synclist_init(&tree_lists, &tree_get_filename, &tc);
gui_synclist_set_icon_callback(&tree_lists,
global_settings.show_icons?&tree_get_fileicon:NULL);