diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/line.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
318 | { | 318 | { |
319 | int sep_height = MIN(line->separator_height, height); | 319 | int sep_height = MIN(line->separator_height, height); |
320 | display->set_drawmode(DRMODE_FG); | 320 | display->set_drawmode(DRMODE_FG); |
321 | #if LCD_DEPTH > 1 | 321 | #ifdef HAVE_LCD_COLOR |
322 | display->set_foreground(global_settings.list_separator_color); | 322 | display->set_foreground(global_settings.list_separator_color); |
323 | #endif | 323 | #endif |
324 | display->fillrect(x, y + height - sep_height, width, sep_height); | 324 | display->fillrect(x, y + height - sep_height, width, sep_height); |
325 | bar_height -= sep_height; | 325 | bar_height -= sep_height; |
326 | #if LCD_DEPTH > 1 | 326 | #ifdef HAVE_LCD_COLOR |
327 | display->set_foreground(global_settings.fg_color); | 327 | display->set_foreground(global_settings.fg_color); |
328 | #endif | 328 | #endif |
329 | } | 329 | } |