summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/icon.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index 647c15434e..b844b4bb5b 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -134,9 +134,16 @@ void screen_put_iconxy(struct screen * display,
134 else if (icon >= Icon_Last_Themeable) 134 else if (icon >= Icon_Last_Themeable)
135 { 135 {
136 icon -= Icon_Last_Themeable; 136 icon -= Icon_Last_Themeable;
137 if (!viewer_icons_loaded[screen]/* || 137 if (!viewer_icons_loaded[screen] ||
138 (icon*ICON_HEIGHT(screen) > viewer_iconset[screen].height)*/) 138 (icon*ICON_HEIGHT(screen) > viewer_iconset[screen].height))
139 { 139 {
140#ifdef HAVE_REMOTE_LCD
141 if (screen == SCREEN_REMOTE)
142 {
143 screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
144 return;
145 }
146#endif
140 screen_clear_area(display, xpos, ypos, 147 screen_clear_area(display, xpos, ypos,
141 ICON_WIDTH(screen), ICON_HEIGHT(screen)); 148 ICON_WIDTH(screen), ICON_HEIGHT(screen));
142 return; 149 return;