summaryrefslogtreecommitdiffstats
path: root/src/c_keys.c
diff options
context:
space:
mode:
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 7874932..f9141d7 100644
--- a/src/c_keys.c
+++ b/src/c_keys.c
@@ -93,7 +93,7 @@ int16_t
tputs(tgetstr("nd", NULL), 1, ft_putchar);
tcaps->cpos--;
}
- if (tcaps->cpos >= 1)
+ else if (tcaps->cpos >= 1)
{
tputs(tgetstr("le", NULL), 1, ft_putchar);
tcaps->cpos--;