Fix FS#10981: Viewers icons applied incorrectly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28286 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c1bfe4eb62
commit
44780475bc
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void screen_put_iconxy(struct screen * display,
|
||||||
icon -= Icon_Last_Themeable;
|
icon -= Icon_Last_Themeable;
|
||||||
if (!viewer_icons_loaded[screen] ||
|
if (!viewer_icons_loaded[screen] ||
|
||||||
(global_status.viewer_icon_count * height > iconset->height) ||
|
(global_status.viewer_icon_count * height > iconset->height) ||
|
||||||
(icon * height > iconset->height))
|
(icon * height + height > iconset->height))
|
||||||
{
|
{
|
||||||
screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
|
screen_put_iconxy(display, xpos, ypos, Icon_Questionmark);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue