Replace strstr with string_ends_with
This commit is contained in:
parent
d717f3537a
commit
9fe01ff0c8
|
@ -6640,7 +6640,7 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(str, "input_binds_list"))
|
if (string_ends_with(str, "input_binds_list"))
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue