summaryrefslogtreecommitdiffstats
path: root/src/c_keys.c
diff options
context:
space:
mode:
authorSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
committerSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
commit46f8585e463d1617bb120894afaec7f51cf85153 (patch)
treeed4dc8f3c8a719de3fc54a6c228cfc0fdf2653c9 /src/c_keys.c
parentfix (diff)
download42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.gz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.bz2
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.xz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.zst
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.zip
gnu c compiler compatible
Diffstat (limited to 'src/c_keys.c')
-rw-r--r--src/c_keys.c2
1 files changed, 1 insertions, 1 deletions
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;