Replace with string_ends_with

This commit is contained in:
twinaphex 2020-05-24 19:16:13 +02:00
parent d9bbe604e9
commit 88b8e5a16a

View File

@ -9507,7 +9507,7 @@ static void materialui_list_insert(
node->icon_texture_index = MUI_TEXTURE_PLAYLIST;
node->has_icon = true;
}
else if (strcasestr(label, "_input_binds_list"))
else if (string_ends_with(label, "_input_binds_list"))
{
unsigned i;