aboutsummaryrefslogtreecommitdiff
path: root/input_field.c
diff options
context:
space:
mode:
Diffstat (limited to 'input_field.c')
-rw-r--r--input_field.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input_field.c b/input_field.c
index 4bd09bb..03ddbcf 100644
--- a/input_field.c
+++ b/input_field.c
@@ -5,8 +5,8 @@
#include "graphics.h"
void regenerate_text_buffer(client_state* state) {
- destroy_text_buffer(&state->input_buffer_text);
- init_text_buffer(state, &state->input_buffer_text, state->input_buffer, array_size(state->input_buffer));
+ destroy_text_buffer(&state->input_buffer_grafix);
+ init_text_buffer(state, &state->input_buffer_grafix, state->input_buffer, array_size(state->input_buffer));
}
bool type_key(client_state* state, xkb_keysym_t keysym) {