diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:08:57 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:08:57 +0200 |
commit | f51e891abeb7459a236e5b74d3a864834c5c8a80 (patch) | |
tree | 10ed971676aa07d8b1bbf895a27b4f9b9553b25a | |
parent | litteral god (diff) | |
download | 42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.gz 42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.bz2 42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.xz 42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.zst 42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.zip |
The greatest
-rw-r--r-- | src/ft_sort_s_t.c | 6 |
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++; |