diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -23,10 +23,7 @@ void read_stdin(client_state* state) { } if (len != 0) { array_add(state->items, (item_t){0}); - array_last(state->items) = (item_t){ - .text = line, - .pixel_len = 0 - }; + array_last(state->items).text = line; } line = NULL; } |
