diff options
-rw-r--r-- | apps/gui/icon.c | 2 | ||||
-rw-r--r-- | apps/player/icons.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c index c20f1fe09a..db3ae2c96b 100644 --- a/apps/gui/icon.c +++ b/apps/gui/icon.c @@ -107,7 +107,7 @@ void screen_put_iconxy(struct screen * display, const int is_rtl = lang_is_rtl(); const struct bitmap *iconset; - if (icon == Icon_NOICON) + if (icon <= Icon_NOICON) { if (is_rtl) xpos = display->getwidth() - xpos - width; diff --git a/apps/player/icons.c b/apps/player/icons.c index 0d160bc967..dc804560f2 100644 --- a/apps/player/icons.c +++ b/apps/player/icons.c @@ -84,7 +84,7 @@ static const unsigned short icons[Icon_Last_Themeable] = { extern void screen_put_iconxy(struct screen * screen, int x, int y, enum themable_icons icon) { - if (icon == Icon_NOICON) + if (icon <= Icon_NOICON) screen->putchar(x, y, ' '); else if (icon >= Icon_Last_Themeable) screen->putchar(x, y, old_Icon_Unknown); |