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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/c_keys.c b/src/c_keys.c
index 8232521..a5b90fb 100644
--- a/src/c_keys.c
+++ b/src/c_keys.c
@@ -87,7 +87,7 @@ int16_t
uint32_t plen,
t_caps *tcaps)
{
- if (((tcaps->cpos + plen + 1) % (tcaps->ws.ws_col)) == 0
+ if ((((tcaps->cpos + plen + 1) % (tcaps->ws.ws_col)) == 0)
&& tcaps->cpos < len)
{
tputs(tgetstr("do", NULL), 1, ft_putchar);
@@ -103,12 +103,10 @@ int16_t
}
int16_t
- c_key_left(uint32_t len,
- uint32_t plen,
+ c_key_left(uint32_t plen,
t_caps *tcaps)
{
int32_t pos;
- (void)len;
pos = -1;
if (((tcaps->cpos + plen) % (tcaps->ws.ws_col)) == 0