summaryrefslogtreecommitdiffstats
path: root/apps/gui/line.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-07 23:39:37 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-07 23:39:37 +0100
commit81be2016bbe2be5b9380e974741ac706014d0b1c (patch)
tree54e6a6362af89d4d5b407f827eb0d1b29c9cfb4c /apps/gui/line.c
parent4f5894de523cdc8900e3d1c2bac228383b2f5792 (diff)
downloadrockbox-81be2016bbe2be5b9380e974741ac706014d0b1c.tar.gz
rockbox-81be2016bbe2be5b9380e974741ac706014d0b1c.tar.bz2
rockbox-81be2016bbe2be5b9380e974741ac706014d0b1c.zip
Fix Player red and icons on mono displays.
Change-Id: Ib8adcb4c70f2dd3ddd25da8f0606f48926dfd89e
Diffstat (limited to 'apps/gui/line.c')
-rw-r--r--apps/gui/line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/line.c b/apps/gui/line.c
index c0fb936f27..c06fc50f26 100644
--- a/apps/gui/line.c
+++ b/apps/gui/line.c
@@ -103,7 +103,7 @@ static void put_icon(struct screen *display, int x, int y,
/* Need to change the drawmode:
* mono icons should behave like text, inverted on the selector bar
* native (colored) icons should be drawn as-is */
- if (!get_icon_format(display->screen_type) == FORMAT_MONO && (line->style & STYLE_INVERT))
+ if (get_icon_format(display->screen_type) == FORMAT_MONO && (line->style & STYLE_INVERT))
drmode = DRMODE_SOLID | DRMODE_INVERSEVID;
display->set_drawmode(drmode);