From d63d6916249f5b40b81097854d8ca2c9d4d7d071 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 30 Oct 2019 23:35:40 +0100 Subject: Normed converters --- convert_percent.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'convert_percent.c') diff --git a/convert_percent.c b/convert_percent.c index 4b28f8d..0833748 100644 --- a/convert_percent.c +++ b/convert_percent.c @@ -1,11 +1,25 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* convert_percent.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/10/30 23:23:27 by cacharle #+# #+# */ +/* Updated: 2019/10/30 23:23:56 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include +#include "libft.h" #include "header.h" char *convert_percent(va_list ap, t_pformat *pformat) { - char *str = ft_strdup("%"); + char *str; (void)ap; + str = ft_strdup("%"); str = handle_padding(pformat, str); return (str); } -- cgit