forked from len0rd/rockbox
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
This commit is contained in:
parent
d873f4f474
commit
f23251999c
2 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue