diff options
Diffstat (limited to 'apps/gui/icon.c')
-rw-r--r-- | apps/gui/icon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c index 73c0fb598c..299af5d0f4 100644 --- a/apps/gui/icon.c +++ b/apps/gui/icon.c | |||
@@ -143,7 +143,7 @@ void screen_put_iconxy(struct screen * display, | |||
143 | icon -= Icon_Last_Themeable; | 143 | icon -= Icon_Last_Themeable; |
144 | if (!viewer_icons_loaded[screen] || | 144 | if (!viewer_icons_loaded[screen] || |
145 | (global_status.viewer_icon_count * height > iconset->height) || | 145 | (global_status.viewer_icon_count * height > iconset->height) || |
146 | (icon * height > iconset->height)) | 146 | (icon * height + height > iconset->height)) |
147 | { | 147 | { |
148 | screen_put_iconxy(display, xpos, ypos, Icon_Questionmark); | 148 | screen_put_iconxy(display, xpos, ypos, Icon_Questionmark); |
149 | return; | 149 | return; |