From 9fe01ff0c85a0f3cecc35bbacee80c148c6b712f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 23 May 2020 00:41:14 +0200 Subject: [PATCH] Replace strstr with string_ends_with --- menu/cbs/menu_cbs_ok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index ef2f093710..71b6236a50 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -6640,7 +6640,7 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs, return 0; } - if (strstr(str, "input_binds_list")) + if (string_ends_with(str, "input_binds_list")) { unsigned i;