diff options
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 4a72c3e505..f4cb607260 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -876,13 +876,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, | |||
876 | /* up two because the falthrough brings it down one */ | 876 | /* up two because the falthrough brings it down one */ |
877 | case ACTION_LIST_VOLDOWN: | 877 | case ACTION_LIST_VOLDOWN: |
878 | global_settings.volume--; | 878 | global_settings.volume--; |
879 | 879 | setvol(); | |
880 | if (global_settings.volume < sound_min(SOUND_VOLUME)) | ||
881 | global_settings.volume = sound_min(SOUND_VOLUME); | ||
882 | if (global_settings.volume > sound_max(SOUND_VOLUME)) | ||
883 | global_settings.volume = sound_max(SOUND_VOLUME); | ||
884 | sound_set_volume(global_settings.volume); | ||
885 | settings_save(); | ||
886 | return button; | 880 | return button; |
887 | #endif | 881 | #endif |
888 | case ACTION_STD_PREV: | 882 | case ACTION_STD_PREV: |