From 332a55e859e8b213a9680b06022e4812d190951f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 8 Sep 2020 19:37:19 +0200 Subject: Pretty bav --- src/m_loop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/m_loop.c b/src/m_loop.c index 9ecea98..b3c06d0 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -39,11 +39,10 @@ static void ptr = msh->curr; while (ptr != NULL) { - ft_printf("[%s]\n", ptr->lblock); if ((previf == 0) || (previf == 1 && msh->ret == 0) || (previf == 2 && msh->ret != 0)) { - if ((msh->com = s_com_new(msh->curr->lblock, msh)) == NULL) + if ((msh->com = s_com_new(ptr->lblock, msh)) == NULL) break ; e_line(msh); } -- cgit v1.2.3