summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-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 c0fb936..c06fc50 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);