summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_init.c b/src/c_init.c
index 66e0541..de10dfa 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -66,7 +66,7 @@ c_read_cap(char *buf,
t_msh *msh)
{
if ((*((unsigned int *)buf)) == LEFT_K)
- return (c_key_left(ft_strlen(line), ft_strlen(msh->ps[tcaps->psx]), tcaps));
+ return (c_key_left(ft_strlen(msh->ps[tcaps->psx]), tcaps));
else if ((*((unsigned int *)buf)) == RIGHT_K)
return (c_key_right(ft_strlen(line), ft_strlen(msh->ps[tcaps->psx]), tcaps));
else if ((*((unsigned int *)buf)) == HOME_K)
@@ -106,7 +106,7 @@ static char
else
c_read_cap(buf, line, tcaps, msh);
if (buf[0] == '\n')
- return (c_new_line(line, tcaps, msh));
+ return (c_new_line(line, tcaps));
return (NULL);
}