diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-04 23:16:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-04 23:16:48 +0000 |
commit | 6d687817a8433906107dc40b4a95ec1da40c3df0 (patch) | |
tree | 187d3cc80f8fc120bfa6e9564866f9c5e4213e9b | |
parent | b7077a7316fa3b1a0efa8247479c64a67ef1d87c (diff) | |
download | busybox-6d687817a8433906107dc40b4a95ec1da40c3df0.tar.gz |
Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 727529255..2929b9622 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -923,10 +923,12 @@ extern int ls_main(int argc, char **argv) | SORT_NAME | SORT_ORDER_FORWARD #endif ; +#ifdef CONFIG_FEATURE_AUTOWIDTH /* Obtain the terminal width. */ get_terminal_width_height(0, &terminal_width, NULL); /* Go one less... */ terminal_width--; +#endif nfiles = 0; #ifdef CONFIG_FEATURE_LS_COLOR |