summaryrefslogtreecommitdiff
path: root/apps/gui/icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/icon.c')
-rw-r--r--apps/gui/icon.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index 37eb1a715f..968d83548f 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -129,16 +129,11 @@ void screen_put_iconxy(struct screen * display,
129 { 129 {
130 icon -= Icon_Last_Themeable; 130 icon -= Icon_Last_Themeable;
131 if (!viewer_icons_loaded[screen] || 131 if (!viewer_icons_loaded[screen] ||
132 (global_status.viewer_icon_count*height
133 > viewer_iconset[screen].height) ||
132 (icon * height > viewer_iconset[screen].height)) 134 (icon * height > viewer_iconset[screen].height))
133 { 135 {
134#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) 136 screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
135 if (screen == SCREEN_REMOTE)
136 {
137 screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
138 return;
139 }
140#endif
141 screen_clear_area(display, xpos, ypos, width, height);
142 return; 137 return;
143 } 138 }
144 data = viewer_iconset[screen].data; 139 data = viewer_iconset[screen].data;