Fix remote screen check in graphic equalizer, so that it can be used on logf-enabled builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11439 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a19faaed63
commit
d6729e2654
1 changed files with 2 additions and 2 deletions
|
@ -404,7 +404,7 @@ static int draw_eq_slider(struct screen * screen, int x, int y,
|
|||
screen->set_drawmode(DRMODE_SOLID);
|
||||
screen->putsxy(current_x, y + 2, separator);
|
||||
current_x += separator_width;
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#if NB_SCREENS > 1
|
||||
if (screen->screen_type == SCREEN_REMOTE) {
|
||||
if (mode == GAIN) {
|
||||
screen->putsxy(current_x, y + 2, str(LANG_EQUALIZER_BAND_GAIN));
|
||||
|
@ -522,7 +522,7 @@ static int draw_eq_sliders(int current_band, enum eq_slider_mode mode)
|
|||
height += draw_eq_slider(&(screens[SCREEN_MAIN]), 2, height,
|
||||
slider_width[SCREEN_MAIN], cutoff, q, gain,
|
||||
i == current_band, mode, type);
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#if NB_SCREENS > 1
|
||||
if (i == current_band)
|
||||
draw_eq_slider(&(screens[SCREEN_REMOTE]), 2, 0,
|
||||
slider_width[SCREEN_REMOTE], cutoff, q, gain,1, mode, type);
|
||||
|
|
Loading…
Reference in a new issue