aboutsummaryrefslogtreecommitdiff
path: root/src/io/ft_printf/internals/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/ft_printf/internals/parse.c')
-rw-r--r--src/io/ft_printf/internals/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/ft_printf/internals/parse.c b/src/io/ft_printf/internals/parse.c
index 33928a0..4650481 100644
--- a/src/io/ft_printf/internals/parse.c
+++ b/src/io/ft_printf/internals/parse.c
@@ -28,7 +28,7 @@ int parse(const char *format, t_flist **flist)
if ((tmp = list_new(parsed)) == NULL)
return ((int)list_destroy(flist));
list_push_front(flist, tmp);
- format += (*flist)->content->fmt_len;
+ format += (*flist)->data->fmt_len;
}
*flist = list_reverse(*flist);
return (1);