From d6729e2654f26ff01f61370909ce79a411046812 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sun, 5 Nov 2006 19:01:36 +0000 Subject: 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 --- apps/eq_menu.c | 4 ++-- 1 file 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); -- cgit v1.2.3