From bf9ae1f3030b27dfada1d5eea08f9e7b9563fcf2 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 25 Feb 2008 07:41:30 +0000 Subject: 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 --- apps/gui/list.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps') 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) -- cgit v1.2.3