From dafee6410a4ecd7400a83adf84ded3621f30a365 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 6 Nov 2019 00:02:56 +0100 Subject: Refactored parsing to handle alone '%' - renamed a few variables - added join_free* to libft - normed everything but ft_printf.c --- convert_percent.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'convert_percent.c') diff --git a/convert_percent.c b/convert_percent.c index 0833748..492fa42 100644 --- a/convert_percent.c +++ b/convert_percent.c @@ -6,12 +6,10 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/30 23:23:27 by cacharle #+# #+# */ -/* Updated: 2019/10/30 23:23:56 by cacharle ### ########.fr */ +/* Updated: 2019/11/05 23:44:07 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ -#include -#include "libft.h" #include "header.h" char *convert_percent(va_list ap, t_pformat *pformat) @@ -20,6 +18,6 @@ char *convert_percent(va_list ap, t_pformat *pformat) (void)ap; str = ft_strdup("%"); - str = handle_padding(pformat, str); + str = handle_width(pformat, str); return (str); } -- cgit