summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-07-17 11:13:51 +0200
committerSolomon Peachy <pizza@shaftnet.org>2020-10-29 20:26:30 -0400
commit07fcced4fb27050d02c2e9b4171b6e0ee032642d (patch)
tree3be52299d666c1af580f4277be155cee41e8c64a /apps
parent44023eb4304e5a70d741fd8accb72feed4613661 (diff)
downloadrockbox-07fcced4fb27050d02c2e9b4171b6e0ee032642d.tar.gz
rockbox-07fcced4fb27050d02c2e9b4171b6e0ee032642d.tar.bz2
rockbox-07fcced4fb27050d02c2e9b4171b6e0ee032642d.zip
Fix volume handling of steps in radio
Change-Id: I6d91c5ebc90f9303c71005f3b954df3a101ab732
Diffstat (limited to 'apps')
-rw-r--r--apps/radio/radio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c
index 6038d600a9..b74371413e 100644
--- a/apps/radio/radio.c
+++ b/apps/radio/radio.c
@@ -517,14 +517,14 @@ void radio_screen(void)
case ACTION_SETTINGS_INC:
case ACTION_SETTINGS_INCREPEAT:
- global_settings.volume++;
+ global_settings.volume += sound_steps(SOUND_VOLUME);
setvol();
update_type = SKIN_REFRESH_NON_STATIC;
break;
case ACTION_SETTINGS_DEC:
case ACTION_SETTINGS_DECREPEAT:
- global_settings.volume--;
+ global_settings.volume -= sound_steps(SOUND_VOLUME);
setvol();
update_type = SKIN_REFRESH_NON_STATIC;
break;