Another buildfix

This commit is contained in:
twinaphex 2017-09-10 22:31:09 +02:00
parent e6200f00e3
commit b079cc8927

View File

@ -1681,15 +1681,34 @@ void general_write_handler(void *data)
case MENU_ENUM_LABEL_HELP:
if (*setting->value.target.boolean)
{
menu_displaylist_info_t info = {0};
menu_displaylist_info_t info;
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr(0);
info.list = menu_stack;
info.type = 0;
info.directory_ptr = 0;
strlcpy(info.label,
msg_hash_to_str(MENU_ENUM_LABEL_HELP), sizeof(info.label));
info.enum_idx = MENU_ENUM_LABEL_HELP;
info.need_sort = false;
info.need_refresh = false;
info.need_entries_refresh = false;
info.need_push = false;
info.need_clear = false;
info.push_builtin_cores = false;
info.download_core = false;
info.need_navigation_clear = false;
info.path[0] = '\0';
info.path_b[0] = '\0';
info.path_c[0] = '\0';
info.exts[0] = '\0';
strlcpy(info.label,
msg_hash_to_str(MENU_ENUM_LABEL_HELP),
sizeof(info.label));
info.type = 0;
info.type_default = 0;
info.flags = 0;
info.label_hash = 0;
info.directory_ptr = 0;
info.list = menu_stack;
info.menu_list = NULL;
info.setting = NULL;
if (menu_displaylist_ctl(DISPLAYLIST_GENERIC, &info))
menu_displaylist_process(&info);