aboutsummaryrefslogtreecommitdiff
path: root/convert_percent.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert_percent.c')
-rw-r--r--convert_percent.c6
1 files changed, 2 insertions, 4 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 <stdarg.h>
-#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);
}