fix: bug bizarre

This commit is contained in:
Camille Chauvet 2023-02-24 15:51:12 +01:00
parent 0941f3a370
commit 51f892350a

View File

@ -30,7 +30,7 @@ static char *ft_spacer_after(const char *str)
i++; i++;
if (ft_is_in("><|", out[i - 1])) if (ft_is_in("><|", out[i - 1]))
{ {
while (str[i] == out[i - 1]) while (out[i] == out[i - 1])
i++; i++;
temp = ft_strreplace(out, " ", i, i); temp = ft_strreplace(out, " ", i, i);
free(out); free(out);