summaryrefslogtreecommitdiffstats
path: root/apps/gui/icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/icon.c')
-rw-r--r--apps/gui/icon.c2
1 files changed, 1 insertions, 1 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;