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_base.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libft/src/ft_putnbr_base.c') diff --git a/libft/src/ft_putnbr_base.c b/libft/src/ft_putnbr_base.c index 3a04cad..3468b6b 100644 --- a/libft/src/ft_putnbr_base.c +++ b/libft/src/ft_putnbr_base.c @@ -13,8 +13,7 @@ #include #include -void - ft_putnbr_base(long nb, char *base) +void ft_putnbr_base(long nb, char *base) { long i; uint8_t size; @@ -32,5 +31,7 @@ void ft_putnbr_base(i % size, base); } else + { ft_putchar(base[nb]); + } } -- cgit v1.2.3