summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_putnbr_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_putnbr_base.c')
-rw-r--r--libft/src/ft_putnbr_base.c5
1 files changed, 3 insertions, 2 deletions
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 <libft.h>
#include <inttypes.h>
-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]);
+ }
}