mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-25 19:42:20 +00:00
Use new funcs for stripping hex
This commit is contained in:
parent
66c64566cd
commit
d5c27654f7
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ static void djui_panel_dynos_add_packs(struct DjuiBase* base) {
|
|||
if (!dynos_pack_get_exists(i)) continue;
|
||||
bool tmp = dynos_pack_get_enabled(i);
|
||||
const char* pack = dynos_pack_get_name(i);
|
||||
if (sSearchInputbox != NULL && sSearchInputbox->buffer != NULL && !strcasestr(str_remove_color_codes(pack), sSearchInputbox->buffer)) continue;
|
||||
if (sSearchInputbox != NULL && sSearchInputbox->buffer != NULL && !strcasestr(djui_text_get_uncolored_string(NULL, strlen(pack) + 1, pack), sSearchInputbox->buffer)) continue;
|
||||
|
||||
struct DjuiCheckbox* checkbox1 = djui_checkbox_create(base, pack, &tmp, djui_panel_dynos_apply);
|
||||
checkbox1->base.tag = i;
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ void djui_panel_host_mods_add_mods(struct DjuiBase* layoutBase) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (sSearchInputbox != NULL && sSearchInputbox->buffer != NULL && !strcasestr(str_remove_color_codes(mod->name), sSearchInputbox->buffer)) {
|
||||
if (sSearchInputbox != NULL && sSearchInputbox->buffer != NULL && !strcasestr(djui_text_get_uncolored_string(NULL, strlen(mod->name) + 1, mod->name), sSearchInputbox->buffer)) {
|
||||
continue;
|
||||
}
|
||||
struct DjuiCheckbox* checkbox = djui_checkbox_create(layoutBase, mod->name, &mod->enabled, djui_mod_checkbox_on_value_change);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue