aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
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;
}