fix: quote verif is better

This commit is contained in:
Camille Chauvet
2023-03-13 19:28:46 +01:00
parent 08261b1921
commit ee3d535393
3 changed files with 26 additions and 14 deletions

View File

@ -84,7 +84,7 @@ static int ft_special_char_dub(const char *str)
}
i = i + y;
}
else
else if (str[i] != '\0')
i++;
}
return (0);