summaryrefslogtreecommitdiff
path: root/apps/menus
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/menus
parentd873f4f4749c9e1dea5fa012cf0522c7e24fe784 (diff)
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/menus')
-rw-r--r--apps/menus/settings_menu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index 78f0c7ee7a..53c5972ee8 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -413,7 +413,6 @@ static void view_hotkey_info(void)
simplelist_info_init(&info, str(LANG_VIEW_HOTKEY), 0, NULL);
info.hide_selection = true;
info.scroll_all = true;
- simplelist_set_line_count(0);
simplelist_addline(SIMPLELIST_ADD_LINE, str(LANG_HOTKEY_VIEW_WPS),
str(get_hotkey_desc_id(global_settings.hotkey_wps)));
simplelist_addline(SIMPLELIST_ADD_LINE, str(LANG_HOTKEY_VIEW_FILE_BROWSER),