From bbfbacc75e9bcb8a8b9d81b5f2a06567734c2873 Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Sat, 11 Apr 2026 22:28:39 -0400 Subject: fix some compiler error --- input_field.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'input_field.c') diff --git a/input_field.c b/input_field.c index c221e6f..d8c5c23 100644 --- a/input_field.c +++ b/input_field.c @@ -35,7 +35,7 @@ void refilter_items(client_state* state) { float part = 0; bool add = true; array_for_all(char*, j, parts) { - if (state->strstr(i->text, *j)) { + if (state->strstr2(i->text, *j)) { part += strlen(*j); } else { @@ -57,7 +57,7 @@ void refilter_items(client_state* state) { } else { array_for_all(item_t, i, state->items) { - if (state->strstr(i->text, input_buffer_string) != NULL) { + if (state->strstr2(i->text, input_buffer_string) != NULL) { array_add(state->filtered_items, (item_display_t){ .item = i }); } } @@ -166,4 +166,3 @@ key_repeat_t execute_keypress(client_state* state, xkb_keysym_t keysym) { return KEY_NO_REPEAT; } - -- cgit v1.2.3