From 6d687817a8433906107dc40b4a95ec1da40c3df0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Nov 2003 23:16:48 +0000 Subject: Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling --- coreutils/ls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coreutils') diff --git a/coreutils/ls.c b/coreutils/ls.c index 7275292..2929b96 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 -- cgit v1.1