From afe1575457dbe0af1ae475933fda91daec675ec3 Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Tue, 14 Oct 2025 16:39:58 -0400 Subject: fix jacks shit code --- main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 433d14d..e487a34 100644 --- a/main.c +++ b/main.c @@ -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; } -- cgit v1.2.3