summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-02-25 07:41:30 +0000
committerJens Arnold <amiconn@rockbox.org>2008-02-25 07:41:30 +0000
commitbf9ae1f3030b27dfada1d5eea08f9e7b9563fcf2 (patch)
tree7b10f2ba20dd9d5525026ec277b7c3ecd85f4c0b /apps/gui/list.c
parent3d863143a5b1f3ae5e67242406f9123eb846c4fe (diff)
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
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index cfb1e7c073..bc21976449 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -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)