diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2026-04-11 22:28:39 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2026-04-11 22:28:39 -0400 |
| commit | bbfbacc75e9bcb8a8b9d81b5f2a06567734c2873 (patch) | |
| tree | 0553947878040daee598d17a5aca600fa8134c4b /input_field.c | |
| parent | 820afc0d5af5d1536ecb7faaac86d01e788dacdf (diff) | |
fix some compiler error
Diffstat (limited to 'input_field.c')
| -rw-r--r-- | input_field.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } - |
