Fix deferred_rdb_entry_detail edge case

This commit is contained in:
twinaphex 2015-06-05 09:33:41 +02:00
parent 6f842cedd3
commit 4de9ea8e91
2 changed files with 2 additions and 2 deletions

View File

@ -475,7 +475,7 @@ void menu_entries_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
}
}
if (hash == MENU_LABEL_DEFERRED_RDB_ENTRY_DETAIL)
if (strstr(label, "deferred_rdb_entry_detail"))
cbs->action_deferred_push = deferred_push_rdb_entry_detail;
#ifdef HAVE_NETWORKING
else if (hash == MENU_LABEL_DEFERRED_CORE_UPDATER_LIST)

View File

@ -457,7 +457,7 @@ enum action_iterate_type
ITERATE_TYPE_BIND,
};
enum action_iterate_type action_iterate_type(const char *label)
static enum action_iterate_type action_iterate_type(const char *label)
{
if (!strcmp(label, "help"))
return ITERATE_TYPE_HELP;