summaryrefslogtreecommitdiffstats
path: root/src/c_keys.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-16 17:05:38 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-16 17:05:38 +0100
commitb3921e090a3b900240e81ada562438f74ffc5b4d (patch)
tree7c6ec7c356b5144b4e0ca0cd6aeab44c2bfa64dd /src/c_keys.c
parentFix (diff)
download42-minishell-b3921e090a3b900240e81ada562438f74ffc5b4d.tar.gz
42-minishell-b3921e090a3b900240e81ada562438f74ffc5b4d.tar.bz2
42-minishell-b3921e090a3b900240e81ada562438f74ffc5b4d.tar.xz
42-minishell-b3921e090a3b900240e81ada562438f74ffc5b4d.tar.zst
42-minishell-b3921e090a3b900240e81ada562438f74ffc5b4d.zip
Merge
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 f0e67fd..3687a84 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;