diff options
author | Ron Yorston <rmy@pobox.com> | 2017-02-08 20:09:29 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-02-08 20:09:29 +0000 |
commit | 373275a708bafb88fa4f0519de2166154f44fed9 (patch) | |
tree | 4587b4fd3f695e0f3705b2a217e199f3144df931 /libbb/appletlib.c | |
parent | b74b2619779b1deb903b7766261807df1e9b1f7f (diff) | |
parent | c2b18583a3df06aeecf535c3cea6856aa1f2e205 (diff) | |
download | busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.gz busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.bz2 busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 6732f89a9..a31a73e90 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -777,11 +777,7 @@ static int busybox_main(char **argv) | |||
777 | int col; | 777 | int col; |
778 | unsigned output_width; | 778 | unsigned output_width; |
779 | help: | 779 | help: |
780 | output_width = 80; | 780 | output_width = get_terminal_width(2); |
781 | if (ENABLE_FEATURE_AUTOWIDTH) { | ||
782 | /* Obtain the terminal width */ | ||
783 | output_width = get_terminal_width(2); | ||
784 | } | ||
785 | 781 | ||
786 | dup2(1, 2); | 782 | dup2(1, 2); |
787 | full_write2_str(bb_banner); /* reuse const string */ | 783 | full_write2_str(bb_banner); /* reuse const string */ |