commit | 3bd31ebc9a6643d61f11b17811e885596aca61e0 | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Fri Mar 08 16:16:38 2002 +0000 |
committer | Matt Kraai <kraai@debian.org> | Fri Mar 08 16:16:38 2002 +0000 |
tree | f7a9131e497cf82554f355fda41e834af8b2c2de | |
parent | 372f91f07c65277db6c7fded61800fe77c15a336 [diff] [blame] |
* fileutils/ls.c (showfiles): Display multiple short names on a line.
diff --git a/coreutils/ls.c b/coreutils/ls.c index 07e083f..e9c2e86 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c
@@ -443,12 +443,7 @@ if (column_width < len) column_width= len; } - if (column_width >= 6) - ncols = (int)(terminal_width / (column_width + COLUMN_GAP)); - else { - ncols = 1; - column_width = COLUMN_WIDTH; - } + ncols = (int)(terminal_width / (column_width + COLUMN_GAP)); #else ncols= TERMINAL_WIDTH; #endif