From eef52a625c1676946b0dddfe211ebfbe62ff81b1 Mon Sep 17 00:00:00 2001 From: salad Date: Sun, 20 Sep 2020 14:55:03 +0200 Subject: ffs --- src/c_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c_input.c') diff --git a/src/c_input.c b/src/c_input.c index 4dab9f0..be72aa9 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -86,7 +86,7 @@ int16_t if (tcaps->cpos >= 1) { *line = c_delchar(*line, tcaps->cpos); - tcaps->cpos -= 1; + tcaps->cpos--; tputs(tgetstr("le", NULL), 1, ft_putchar); tputs(tgetstr("dc", NULL), 1, ft_putchar); } -- cgit v1.2.3