Skip to content

Commit

Permalink
Replace strstr with string_ends_with
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed May 22, 2020
1 parent d717f35 commit 9fe01ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/cbs/menu_cbs_ok.c
Expand Up @@ -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;

Expand Down

0 comments on commit 9fe01ff

Please sign in to comment.