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_fd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libft/src/ft_putnbr_fd.c') diff --git a/libft/src/ft_putnbr_fd.c b/libft/src/ft_putnbr_fd.c index 437a6e6..0fad8e8 100644 --- a/libft/src/ft_putnbr_fd.c +++ b/libft/src/ft_putnbr_fd.c @@ -12,8 +12,7 @@ #include -void - ft_putnbr_fd(int n, int fd) +void ft_putnbr_fd(int n, int fd) { unsigned int i; @@ -29,5 +28,7 @@ void ft_putchar_fd((i % 10) + 48, fd); } else + { ft_putchar_fd(i + 48, fd); + } } -- cgit v1.2.3