diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_tex_nl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_get_tex_nl.c b/src/ft_get_tex_nl.c index 00155de..bb071f7 100644 --- a/src/ft_get_tex_nl.c +++ b/src/ft_get_tex_nl.c @@ -27,13 +27,13 @@ int8_t ft_sprintf(clist->errmsg, "%s", FT_ERR_NOT_A_XPM); return (-1); } - ft_memdel((void**)&clist->mlist->nl_tex_path); - if (!(clist->mlist->nl_tex_path = ft_strdup(*(words + 1)))) + ft_memdel((void**)&clist->mlist.nl_tex_path); + if (!(clist->mlist.nl_tex_path = ft_strdup(*(words + 1)))) { ft_sprintf(clist->errmsg, "%s", FT_ERR_ALLOCATE); return (-1); } - if (ft_check_not_found(clist->mlist->nl_tex_path) < 0) + if (ft_check_not_found(clist->mlist.nl_tex_path) < 0) { ft_sprintf(clist->errmsg, FT_ERR_RD_NL_TEX); return (-1); |