diff --git a/menu/cbs/menu_cbs_cancel.c b/menu/cbs/menu_cbs_cancel.c index 0696139b08..dba66f781e 100644 --- a/menu/cbs/menu_cbs_cancel.c +++ b/menu/cbs/menu_cbs_cancel.c @@ -48,7 +48,7 @@ static int action_cancel_core_content(const char *path, } static int menu_cbs_init_bind_cancel_compare_label(menu_file_list_cbs_t *cbs, - const char *label, uint32_t hash, const char *elem0, const char *menu_label) + const char *label, uint32_t hash, const char *menu_label) { if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_LIST))) { @@ -68,7 +68,7 @@ static int menu_cbs_init_bind_cancel_compare_type( int menu_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx, - const char *elem0, const char *elem1, const char *menu_label, + const char *menu_label, uint32_t label_hash, uint32_t menu_label_hash) { if (!cbs) @@ -77,7 +77,7 @@ int menu_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs, BIND_ACTION_CANCEL(cbs, action_cancel_pop_default); - if (menu_cbs_init_bind_cancel_compare_label(cbs, label, label_hash, elem0, menu_label) == 0) + if (menu_cbs_init_bind_cancel_compare_label(cbs, label, label_hash, menu_label) == 0) return 0; if (menu_cbs_init_bind_cancel_compare_type( diff --git a/menu/menu_cbs.c b/menu/menu_cbs.c index 2d29f5db3b..07751eba81 100644 --- a/menu/menu_cbs.c +++ b/menu/menu_cbs.c @@ -85,7 +85,7 @@ void menu_cbs_init(void *data, menu_cbs_init_log(repr_label, "OK", cbs->action_ok_ident); - menu_cbs_init_bind_cancel(cbs, path, label, type, idx, elem0, elem1, menu_label, label_hash, menu_label_hash); + menu_cbs_init_bind_cancel(cbs, path, label, type, idx, menu_label, label_hash, menu_label_hash); menu_cbs_init_log(repr_label, "CANCEL", cbs->action_cancel_ident); diff --git a/menu/menu_cbs.h b/menu/menu_cbs.h index 2aedefa56b..a1ff69d9d1 100644 --- a/menu/menu_cbs.h +++ b/menu/menu_cbs.h @@ -159,7 +159,7 @@ int menu_cbs_init_bind_content_list_switch(menu_file_list_cbs_t *cbs, int menu_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx, - const char *elem0, const char *elem1, const char *menu_label, + const char *menu_label, uint32_t label_hash, uint32_t menu_label_hash); int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,