fix: bug bizarre
This commit is contained in:
parent
0941f3a370
commit
51f892350a
2
spacer.c
2
spacer.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user