From 1b4df01bfa793fe91a58192a4b79917909bf1614 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 15 Oct 2019 13:57:21 +0200 Subject: Wildcard handling Back where I was before rewrite --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index b07b436..0fa82ed 100644 --- a/parse.c +++ b/parse.c @@ -55,7 +55,7 @@ t_pformat *parse_reduced(char *fmt) pformat->zero_padding = FALSE; pformat->min_width.wildcard.exist = FALSE; pformat->precision.wildcard.exist = FALSE; - pformat->precision.hardcoded = -1; + pformat->precision.value = -1; pformat->len = ft_strlen(fmt); pformat->conversion = strrchr_index(CONVERSIONS_STR, fmt[pformat->len - 1]); fmt[pformat->len - 1] = 0; -- cgit