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-w32-6d687817a8433906107dc40b4a95ec1da40c3df0.tar.gz busybox-w32-6d687817a8433906107dc40b4a95ec1da40c3df0.tar.bz2 busybox-w32-6d687817a8433906107dc40b4a95ec1da40c3df0.zip |
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) | |||
923 | | SORT_NAME | SORT_ORDER_FORWARD | 923 | | SORT_NAME | SORT_ORDER_FORWARD |
924 | #endif | 924 | #endif |
925 | ; | 925 | ; |
926 | #ifdef CONFIG_FEATURE_AUTOWIDTH | ||
926 | /* Obtain the terminal width. */ | 927 | /* Obtain the terminal width. */ |
927 | get_terminal_width_height(0, &terminal_width, NULL); | 928 | get_terminal_width_height(0, &terminal_width, NULL); |
928 | /* Go one less... */ | 929 | /* Go one less... */ |
929 | terminal_width--; | 930 | terminal_width--; |
931 | #endif | ||
930 | nfiles = 0; | 932 | nfiles = 0; |
931 | 933 | ||
932 | #ifdef CONFIG_FEATURE_LS_COLOR | 934 | #ifdef CONFIG_FEATURE_LS_COLOR |