From 4bfa73662700068af84f59a8028118d0af991987 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:24:45 +0200 Subject: in progress --- libft/src/ft_printf_put_precision.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libft/src/ft_printf_put_precision.c') diff --git a/libft/src/ft_printf_put_precision.c b/libft/src/ft_printf_put_precision.c index af7f7b7..3bc9883 100644 --- a/libft/src/ft_printf_put_precision.c +++ b/libft/src/ft_printf_put_precision.c @@ -13,8 +13,7 @@ #include #include -static int - ft_printf_get_len(t_printflist *pflist) +static int ft_printf_get_len(t_printflist *pflist) { if (pflist->conv == 'p' && pflist->precision > pflist->putlen) return (pflist->precision - pflist->putlen + 2); @@ -45,8 +44,7 @@ static int ** Used for %p, %d, %i, %u, %x and %X */ -int - ft_printf_put_precision(t_printflist *pflist) +int ft_printf_put_precision(t_printflist *pflist) { char *str; int len; -- cgit v1.2.3