aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-15 13:57:21 +0200
committerCharles <sircharlesaze@gmail.com>2019-10-15 13:57:21 +0200
commit1b4df01bfa793fe91a58192a4b79917909bf1614 (patch)
tree4ef767bb5c04279743e97231b518ecca02b19a87 /parse.c
parentfa4bf89263e897695dbf48061369a23d695fef8b (diff)
downloadft_printf-1b4df01bfa793fe91a58192a4b79917909bf1614.tar.gz
ft_printf-1b4df01bfa793fe91a58192a4b79917909bf1614.tar.bz2
ft_printf-1b4df01bfa793fe91a58192a4b79917909bf1614.zip
Wildcard handling
Back where I was before rewrite
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
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;