ajout du script pour tester le cas chelous de la precision 0

This commit is contained in:
Hugo LAMY
2020-03-08 18:03:08 +01:00
parent e65a27e1f3
commit c79d28a2ce
7 changed files with 46 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ char *width_flags(char *print, char *s, int width, int zero)
int len;
len = ft_strlen(print) + zero;
if(!(tmp = ft_strnew(width)))
if (!(tmp = ft_strnew(width)))
return (NULL);
if (ft_strchr(s, '-'))
{