diff --git a/infile.c b/infile.c index 1e53087..dc5b3d9 100644 --- a/infile.c +++ b/infile.c @@ -87,7 +87,7 @@ static int ft_remove_infile(char *line) { if (tab[i][0] == '<') ft_strshift(line + y, - -1 * (ft_strlen(tab[i]) + ft_strlen(tab[i + 1]) + 1)); + -1 * (ft_strlen(tab[i]) + ft_strlen(tab[i + 1]) + 2)); else y = y + ft_strlen(tab[i]) + (y != 0); i++;