diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-25 21:47:29 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-28 13:23:34 +0000 |
commit | 6322e66219baba3fea7f4ec3cc622674f2f340f3 (patch) | |
tree | 73ac14ea3b62a855c04d8c14126cf1d987836737 /apps/menus | |
parent | 965572705beb4a0789970a44e11fce94654ad4b9 (diff) |
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.c | 2 |
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) { if (current_band == 0) { start_item = 0; - } else if (current_band == 9) { + } else if (current_band == EQ_NUM_BANDS - 1) { start_item = EQ_NUM_BANDS - nb_eq_sliders[i]; } else { start_item = current_band - 1; |