Santiy check shouldnt have been commented out
Show the ? icon on the remote if the requested icon (from a .icons file) isnt in the remote viewer iconset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13182 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4a16739bdd
commit
b6658bbeef
1 changed files with 9 additions and 2 deletions
|
@ -134,9 +134,16 @@ void screen_put_iconxy(struct screen * display,
|
|||
else if (icon >= Icon_Last_Themeable)
|
||||
{
|
||||
icon -= Icon_Last_Themeable;
|
||||
if (!viewer_icons_loaded[screen]/* ||
|
||||
(icon*ICON_HEIGHT(screen) > viewer_iconset[screen].height)*/)
|
||||
if (!viewer_icons_loaded[screen] ||
|
||||
(icon*ICON_HEIGHT(screen) > viewer_iconset[screen].height))
|
||||
{
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (screen == SCREEN_REMOTE)
|
||||
{
|
||||
screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
screen_clear_area(display, xpos, ypos,
|
||||
ICON_WIDTH(screen), ICON_HEIGHT(screen));
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue