diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 16:17:27 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 16:34:36 +0100 |
commit | 00434be0f129eb72e3a0bd99deed2923c760cd5e (patch) | |
tree | a9c0332dd6d5b8b1e5ce6489e9c1e9e6000da447 /apps/gui | |
parent | 05a67d021c8fbb10b2654f8378b549901dd4c520 (diff) | |
download | rockbox-00434be0f129eb72e3a0bd99deed2923c760cd5e.tar.gz rockbox-00434be0f129eb72e3a0bd99deed2923c760cd5e.zip |
Fix greyscale and mono builds.
Change-Id: I511376eb42d1109dbe10d4fc5aa849b21d9f7582
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 | } |