summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_input.c')
-rw-r--r--src/c_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_input.c b/src/c_input.c
index 4dab9f0..be72aa9 100644
--- a/src/c_input.c
+++ b/src/c_input.c
@@ -86,7 +86,7 @@ int16_t
if (tcaps->cpos >= 1)
{
*line = c_delchar(*line, tcaps->cpos);
- tcaps->cpos -= 1;
+ tcaps->cpos--;
tputs(tgetstr("le", NULL), 1, ft_putchar);
tputs(tgetstr("dc", NULL), 1, ft_putchar);
}