summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-25 21:47:29 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-28 13:23:34 +0000
commit6322e66219baba3fea7f4ec3cc622674f2f340f3 (patch)
tree73ac14ea3b62a855c04d8c14126cf1d987836737 /apps/menus
parent965572705beb4a0789970a44e11fce94654ad4b9 (diff)
downloadrockbox-6322e66219baba3fea7f4ec3cc622674f2f340f3.tar.gz
rockbox-6322e66219baba3fea7f4ec3cc622674f2f340f3.zip
Remove long-deprecated old style EQ settings
These were deprecated by 1eb17dc9f4 back in 2013 just prior to the 3.13 release. We've had 3.14 and 3.15 since then and I guess nobody will complain if we finally remove them (fingers crossed...) Also fix a line which got missed when converting hardcoded numbers to EQ_NUM_BANDS in that commit. Change-Id: I79dd71f1f2810bf19bc135999868fafc5fee6e04
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/eq_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c
index 79389ae561..109c3c9ab7 100644
--- a/apps/menus/eq_menu.c
+++ b/apps/menus/eq_menu.c
@@ -674,7 +674,7 @@ int eq_menu_graphical(void)
674 { 674 {
675 if (current_band == 0) { 675 if (current_band == 0) {
676 start_item = 0; 676 start_item = 0;
677 } else if (current_band == 9) { 677 } else if (current_band == EQ_NUM_BANDS - 1) {
678 start_item = EQ_NUM_BANDS - nb_eq_sliders[i]; 678 start_item = EQ_NUM_BANDS - nb_eq_sliders[i];
679 } else { 679 } else {
680 start_item = current_band - 1; 680 start_item = current_band - 1;