aboutsummaryrefslogtreecommitdiff
path: root/util-linux/more.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-02 03:21:42 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-02 03:21:42 +0000
commit86ab8a32bd63b2f2a73bdcead8e2bb037589e175 (patch)
tree10aa90962757d07724c78e4fc9baaa27ca7b4858 /util-linux/more.c
parent4062268bc7ac748e2ea2e569aa862b2b3f8a2db2 (diff)
downloadbusybox-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.tar.gz
A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik
Diffstat (limited to 'util-linux/more.c')
-rw-r--r--util-linux/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 50446861e..974149177 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -74,9 +74,9 @@ void gotsig(int sig)
#if defined BB_FEATURE_AUTOWIDTH
#ifdef BB_FEATURE_USE_TERMIOS
-static int terminal_width = 0;
+static int terminal_width = TERMINAL_WIDTH;
#endif
-static int terminal_height = 0;
+static int terminal_height = TERMINAL_HEIGHT;
#else
#define terminal_width TERMINAL_WIDTH
#define terminal_height TERMINAL_HEIGHT