From f92d78184cb8ff31648a623914f714baa27ee2e7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:29:59 +0200 Subject: Normized --- libft/src/ft_putnbr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libft/src/ft_putnbr.c') diff --git a/libft/src/ft_putnbr.c b/libft/src/ft_putnbr.c index 3aacca3..cd6bf9b 100644 --- a/libft/src/ft_putnbr.c +++ b/libft/src/ft_putnbr.c @@ -14,8 +14,7 @@ #include #include -void - ft_putnbr(long nb) +void ft_putnbr(long nb) { long i; @@ -31,5 +30,7 @@ void ft_putchar((i % 10) + '0'); } else + { ft_putchar(i + '0'); + } } -- cgit v1.2.3