display fix issue

This commit is contained in:
Xamora 2025-01-10 17:12:17 +01:00
parent a8501bd817
commit 50d992e494

View file

@ -29,7 +29,7 @@ void space_between_files(t_list **files, dir_t *file) {
else if (line == col - 1 || index_file == i - 1)
ft_printf("\n");
else
for (i = 0; i < max - ft_strlen(file->name) + 1; i++)
for (i = 0; i < max - ft_strlen(file->name); i++)
ft_printf(" ");
}