Fix missing linefeed before last argument in ls

This commit is contained in:
Kevin Lange 2014-06-07 19:33:29 -07:00
parent 7fa3a6ce32
commit b6a50e4041

View File

@ -438,7 +438,7 @@ int main (int argc, char * argv[]) {
}
for (int i = first_directory; i < index; ++i) {
if ((i != 0) && (i != index-1)) {
if (i != 0) {
printf("\n");
}
display_dir(file_arr[i]->name);