display fix issue
This commit is contained in:
parent
a8501bd817
commit
50d992e494
|
@ -29,7 +29,7 @@ void space_between_files(t_list **files, dir_t *file) {
|
||||||
else if (line == col - 1 || index_file == i - 1)
|
else if (line == col - 1 || index_file == i - 1)
|
||||||
ft_printf("\n");
|
ft_printf("\n");
|
||||||
else
|
else
|
||||||
for (i = 0; i < max - ft_strlen(file->name) + 1; i++)
|
for (i = 0; i < max - ft_strlen(file->name); i++)
|
||||||
ft_printf(" ");
|
ft_printf(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue