1
0
Fork 0
forked from len0rd/rockbox

Fix Player red and icons on mono displays.

Change-Id: Ib8adcb4c70f2dd3ddd25da8f0606f48926dfd89e
This commit is contained in:
Thomas Martitz 2014-01-07 23:39:37 +01:00
parent 4f5894de52
commit 81be2016bb
3 changed files with 10 additions and 10 deletions

View file

@ -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);