summaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
authorEric Andersen2000-06-02 03:21:42 +0000
committerEric Andersen2000-06-02 03:21:42 +0000
commit86ab8a32bd63b2f2a73bdcead8e2bb037589e175 (patch)
tree10aa90962757d07724c78e4fc9baaa27ca7b4858 /more.c
parent4062268bc7ac748e2ea2e569aa862b2b3f8a2db2 (diff)
downloadbusybox-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.zip
busybox-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 'more.c')
-rw-r--r--more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/more.c b/more.c
index 5044686..9741491 100644
--- a/more.c
+++ b/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