aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_sort_s_t.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ft_sort_s_t.c b/src/ft_sort_s_t.c
index 00627e5..433fd07 100644
--- a/src/ft_sort_s_t.c
+++ b/src/ft_sort_s_t.c
@@ -114,13 +114,11 @@ static void
{
j = -1;
while (++j < 4)
+ {
tmp[j] = cl->big_t[i][j];
- j = -1;
- while (++j < 4)
cl->big_t[i][j] = cl->big_t[i + 1][j];
- j = -1;
- while (++j < 4)
cl->big_t[i + 1][j] = tmp[j];
+ }
i = -1;
}
i++;