diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/eq_menu.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index fd9f484047..c25d19e352 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c | |||
@@ -590,7 +590,6 @@ int eq_menu_graphical(void) | |||
590 | int *setting; | 590 | int *setting; |
591 | int current_band, x, y, step, fast_step, min, max; | 591 | int current_band, x, y, step, fast_step, min, max; |
592 | enum eq_slider_mode mode; | 592 | enum eq_slider_mode mode; |
593 | char buf[24]; | ||
594 | int h, height, start_item, nb_eq_sliders[NB_SCREENS]; | 593 | int h, height, start_item, nb_eq_sliders[NB_SCREENS]; |
595 | FOR_NB_SCREENS(i) | 594 | FOR_NB_SCREENS(i) |
596 | viewportmanager_theme_enable(i, false, NULL); | 595 | viewportmanager_theme_enable(i, false, NULL); |
@@ -638,10 +637,8 @@ int eq_menu_graphical(void) | |||
638 | min = EQ_GAIN_MIN; | 637 | min = EQ_GAIN_MIN; |
639 | max = EQ_GAIN_MAX; | 638 | max = EQ_GAIN_MAX; |
640 | 639 | ||
641 | snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), | 640 | screens[i].putsxyf(0, 0, str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), |
642 | str(LANG_SYSFONT_GAIN), "(dB)"); | 641 | str(LANG_SYSFONT_GAIN), "(dB)"); |
643 | |||
644 | screens[i].putsxy(0, 0, buf); | ||
645 | } else if (mode == CUTOFF) { | 642 | } else if (mode == CUTOFF) { |
646 | /* cutoff */ | 643 | /* cutoff */ |
647 | setting = &global_settings.eq_band_settings[current_band].cutoff; | 644 | setting = &global_settings.eq_band_settings[current_band].cutoff; |
@@ -651,10 +648,8 @@ int eq_menu_graphical(void) | |||
651 | min = EQ_CUTOFF_MIN; | 648 | min = EQ_CUTOFF_MIN; |
652 | max = EQ_CUTOFF_MAX; | 649 | max = EQ_CUTOFF_MAX; |
653 | 650 | ||
654 | snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), | 651 | screens[i].putsxyf(0, 0, str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), |
655 | str(LANG_SYSFONT_EQUALIZER_BAND_CUTOFF), "(Hz)"); | 652 | str(LANG_SYSFONT_EQUALIZER_BAND_CUTOFF), "(Hz)"); |
656 | |||
657 | screens[i].putsxy(0, 0, buf); | ||
658 | } else { | 653 | } else { |
659 | /* Q */ | 654 | /* Q */ |
660 | setting = &global_settings.eq_band_settings[current_band].q; | 655 | setting = &global_settings.eq_band_settings[current_band].q; |
@@ -664,10 +659,8 @@ int eq_menu_graphical(void) | |||
664 | min = EQ_Q_MIN; | 659 | min = EQ_Q_MIN; |
665 | max = EQ_Q_MAX; | 660 | max = EQ_Q_MAX; |
666 | 661 | ||
667 | snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), | 662 | screens[i].putsxyf(0, 0, str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), |
668 | str(LANG_SYSFONT_EQUALIZER_BAND_Q), ""); | 663 | str(LANG_SYSFONT_EQUALIZER_BAND_Q), ""); |
669 | |||
670 | screens[i].putsxy(0, 0, buf); | ||
671 | } | 664 | } |
672 | 665 | ||
673 | /* Draw scrollbar if needed */ | 666 | /* Draw scrollbar if needed */ |