From a0c2a69d6c79e11c0eb25751d6c246bb164ebc31 Mon Sep 17 00:00:00 2001 From: Salad Date: Wed, 21 Oct 2020 18:23:04 +0200 Subject: makeshift --- src/c_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c_utils.c') diff --git a/src/c_utils.c b/src/c_utils.c index de4e8d1..f879f34 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -150,7 +150,7 @@ int16_t while (i++ < ft_strlen(msh->ps[tcaps->psx])) tputs(tgetstr("nd", NULL), 1, ft_putchar); ft_printf("%s", line); - return (((tcaps->cpos) != ft_strlen(line)) ? + return ((tcaps->cpos != ft_strlen(line)) ? c_redraw_next(ft_strlen(msh->ps[tcaps->psx]), ft_strlen(line), tcaps) : ft_strlen(line)); } -- cgit v1.2.3