From 415d4203ed42e77af5d7da73bc9edcfdbe743ea8 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Mar 2020 17:09:10 +0100 Subject: kk --- src/ft_sort_s_t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ft_sort_s_t.c b/src/ft_sort_s_t.c index 9cbde8b..0f14d35 100644 --- a/src/ft_sort_s_t.c +++ b/src/ft_sort_s_t.c @@ -66,7 +66,7 @@ void ft_init_st(cl->mlist.st_o); while (++i < FT_TOTAL_SPRT) { - if (i < FT_TOTAL_SPRT && dist_tab[i][0] + if (dist_tab[i][0] && dist_tab[i][0] < dist_tab[i + 1][0]) { tmp = cl->mlist.st_o[i]; -- cgit v1.2.3