summaryrefslogtreecommitdiff
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
parent3d863143a5b1f3ae5e67242406f9123eb846c4fe (diff)
downloadrockbox-bf9ae1f3030b27dfada1d5eea08f9e7b9563fcf2.tar.gz
rockbox-bf9ae1f3030b27dfada1d5eea08f9e7b9563fcf2.zip
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
-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)
1184 } 1184 }
1185 if (action == ACTION_STD_CANCEL) 1185 if (action == ACTION_STD_CANCEL)
1186 break; 1186 break;
1187 else if ((action == ACTION_NONE) || 1187 else if ((action == ACTION_REDRAW) ||
1188 (action == ACTION_REDRAW) ||
1189 (old_line_count != simplelist_line_count)) 1188 (old_line_count != simplelist_line_count))
1190 { 1189 {
1191 if (info->get_name == NULL) 1190 if (info->get_name == NULL)