summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-04-10 20:25:23 +0000
committerAlexander Levin <al.le@rockbox.org>2010-04-10 20:25:23 +0000
commitf23251999c6a622af99f60e51ba867d54076f186 (patch)
treead069789f26bfbfdff270ca8f637139ee7d970bc /apps/gui/list.c
parentd873f4f4749c9e1dea5fa012cf0522c7e24fe784 (diff)
downloadrockbox-f23251999c6a622af99f60e51ba867d54076f186.tar.gz
rockbox-f23251999c6a622af99f60e51ba867d54076f186.zip
Reset the number of lines to 0 when initializing the simple list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 25a793810e..2ee7fa7904 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -909,4 +909,5 @@ void simplelist_info_init(struct simplelist_info *info, char* title,
info->get_name = NULL;
info->get_talk = NULL;
info->callback_data = data;
+ simplelist_line_count = 0;
}