From 81be2016bbe2be5b9380e974741ac706014d0b1c Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 7 Jan 2014 23:39:37 +0100 Subject: Fix Player red and icons on mono displays. Change-Id: Ib8adcb4c70f2dd3ddd25da8f0606f48926dfd89e --- apps/gui/line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gui/line.c') 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); -- cgit v1.2.3