Remove unnecessary function call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12471 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f67a95330c
commit
dbf772bae9
|
@ -220,7 +220,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
|
|||
}
|
||||
}
|
||||
|
||||
bar->info.volume = sound_val2phys(SOUND_VOLUME, global_settings.volume);
|
||||
bar->info.volume = global_settings.volume;
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bar->info.shuffle = global_settings.playlist_shuffle;
|
||||
#ifdef HAS_BUTTON_HOLD
|
||||
|
@ -461,8 +461,8 @@ static bool gui_statusbar_icon_volume(struct gui_statusbar * bar, int volume)
|
|||
bool needs_redraw = false;
|
||||
int type = global_settings.volume_type;
|
||||
struct screen * display=bar->display;
|
||||
int minvol = sound_min(SOUND_VOLUME);
|
||||
int maxvol = sound_max(SOUND_VOLUME);
|
||||
const int minvol = sound_min(SOUND_VOLUME);
|
||||
const int maxvol = sound_max(SOUND_VOLUME);
|
||||
|
||||
if (volume < minvol)
|
||||
volume = minvol;
|
||||
|
|
Loading…
Reference in New Issue
Block a user