Fix the simplelist redraw behaviour. It caused e.g. the 'Open with...' menu items to not scroll as they should, making it partially unusable with small displays and/or large fonts. Thanks to JdGordon for pointing me into the right direction.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16415 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-02-25 07:41:30 +00:00
parent 3d863143a5
commit bf9ae1f303

View file

@ -1184,8 +1184,7 @@ bool simplelist_show_list(struct simplelist_info *info)
}
if (action == ACTION_STD_CANCEL)
break;
else if ((action == ACTION_NONE) ||
(action == ACTION_REDRAW) ||
else if ((action == ACTION_REDRAW) ||
(old_line_count != simplelist_line_count))
{
if (info->get_name == NULL)