diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2006-11-05 19:01:36 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2006-11-05 19:01:36 +0000 |
commit | d6729e2654f26ff01f61370909ce79a411046812 (patch) | |
tree | 3e45d8a2e1f8292ef42d2843cccf04b46250a32b | |
parent | a19faaed63a8ed8496a059be9de03e5ae18f9a1a (diff) |
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
-rw-r--r-- | apps/eq_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/eq_menu.c b/apps/eq_menu.c index b062dd719d..6c4dde4a78 100644 --- a/apps/eq_menu.c +++ b/apps/eq_menu.c @@ -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); |