From 57be71a1686f906f2b2a9ae229a4e8d2ae91e895 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 23 Feb 2023 18:05:21 +0100 Subject: [PATCH] fix: infile --- infile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;