From 00434be0f129eb72e3a0bd99deed2923c760cd5e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 3 Mar 2014 16:17:27 +0100 Subject: Fix greyscale and mono builds. Change-Id: I511376eb42d1109dbe10d4fc5aa849b21d9f7582 --- apps/gui/line.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui/line.c') diff --git a/apps/gui/line.c b/apps/gui/line.c index 4a51c6e307..2b1bec2c6b 100644 --- a/apps/gui/line.c +++ b/apps/gui/line.c @@ -318,12 +318,12 @@ static void style_line(struct screen *display, { int sep_height = MIN(line->separator_height, height); display->set_drawmode(DRMODE_FG); -#if LCD_DEPTH > 1 +#ifdef HAVE_LCD_COLOR display->set_foreground(global_settings.list_separator_color); #endif display->fillrect(x, y + height - sep_height, width, sep_height); bar_height -= sep_height; -#if LCD_DEPTH > 1 +#ifdef HAVE_LCD_COLOR display->set_foreground(global_settings.fg_color); #endif } -- cgit v1.2.3