From eed62f1657f4f2b08571f0bd2b1827f3a71dac87 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 7 Feb 2007 04:24:21 +0000 Subject: Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/statusbar.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/gui/statusbar.c') diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index d3f4813e37..f1943f3356 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -258,8 +258,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) #endif #ifdef HAVE_RECORDING /* turn off volume display in recording screen */ - bool recscreen_on = in_recording_screen(); - if (!recscreen_on) + if (!global_status.in_recording_screen) #endif bar->redraw_volume = gui_statusbar_icon_volume(bar, bar->info.volume); gui_statusbar_icon_play_state(display, current_playmode() + Icon_Play); @@ -267,7 +266,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) #ifdef HAVE_RECORDING /* If in recording screen, replace repeat mode, volume and shuffle icons with recording info */ - if (recscreen_on) + if (global_status.in_recording_screen) gui_statusbar_icon_recording_info(display); else #endif -- cgit v1.2.3