From 4fccd597e3c5c97144e4324c1371db9f7f039967 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 29 Feb 2020 00:29:17 +0100 Subject: Works fine, preparing small map --- src/ft_get_path_nl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_get_path_nl.c') diff --git a/src/ft_get_path_nl.c b/src/ft_get_path_nl.c index 7227f63..f826070 100644 --- a/src/ft_get_path_nl.c +++ b/src/ft_get_path_nl.c @@ -24,7 +24,7 @@ int8_t } if (ft_check_ext(*(words + 1), ".cub") < 0) { - ft_sprintf(clist->errmsg, "%s", FT_ERR_NOT_A_XPM); + ft_sprintf(clist->errmsg, "%s", FT_ERR_NOT_A_CUB); return (-1); } ft_memdel((void**)&clist->mlist->nlevel_path); @@ -35,7 +35,7 @@ int8_t } if (ft_check_not_found(clist->mlist->nlevel_path) < 0) { - ft_sprintf(clist->errmsg, "%s", FT_ERR_RD_NO); + ft_sprintf(clist->errmsg, "%s", FT_ERR_RD_NL_MAP); return (-1); } return (0); -- cgit v1.2.3