From 46f8585e463d1617bb120894afaec7f51cf85153 Mon Sep 17 00:00:00 2001 From: Salad Date: Fri, 4 Dec 2020 21:40:49 +0100 Subject: gnu c compiler compatible --- src/c_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c_keys.c') diff --git a/src/c_keys.c b/src/c_keys.c index 3d80327..93bb04b 100644 --- a/src/c_keys.c +++ b/src/c_keys.c @@ -37,7 +37,7 @@ short } else if (i >= 1) { - while (--i >= 0) + while (--i > 0) tputs(tgetstr("le", NULL), 1, ft_putchar); } tcaps->cpos = 0; -- cgit v1.2.3