summaryrefslogtreecommitdiff
path: root/apps/gui/statusbar.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/gui/statusbar.c
parentf839ccb36fb40bb81e88ebca1f0ce6f572b01a51 (diff)
downloadrockbox-bccfae0a58515e489c3aa7f412154db56ae205d6.tar.gz
rockbox-bccfae0a58515e489c3aa7f412154db56ae205d6.zip
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/gui/statusbar.c')
-rw-r--r--apps/gui/statusbar.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index 70fe77facd..eec031fa93 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -95,13 +95,6 @@ void gui_statusbar_init(struct gui_statusbar * bar)
95#endif 95#endif
96} 96}
97 97
98void gui_statusbar_set_screen(struct gui_statusbar * bar,
99 struct screen * display)
100{
101 bar->display = display;
102 gui_statusbar_draw(bar, false);
103}
104
105void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) 98void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
106{ 99{
107 struct screen * display = bar->display; 100 struct screen * display = bar->display;