diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-16 02:56:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-16 02:56:09 +0000 |
commit | 7a104c2751a77c9c1c1b58b8d0f3d67e53f62567 (patch) | |
tree | 18bb8844e235db961e515d005b9b4c7e2fd979a4 | |
parent | b806ec29c0a295d84202a601693f100397126f41 (diff) |
othe envariable is COLUMNS, not COLS
-rw-r--r-- | lib/libtermlib/getterm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtermlib/getterm.c b/lib/libtermlib/getterm.c index 47e282c614b..41f57966ca9 100644 --- a/lib/libtermlib/getterm.c +++ b/lib/libtermlib/getterm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getterm.c,v 1.13 1996/12/14 07:18:47 tholo Exp $ */ +/* $OpenBSD: getterm.c,v 1.14 1997/12/16 02:56:08 millert Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: getterm.c,v 1.13 1996/12/14 07:18:47 tholo Exp $"; +static char rcsid[] = "$OpenBSD: getterm.c,v 1.14 1997/12/16 02:56:08 millert Exp $"; #endif #include <stdlib.h> @@ -413,7 +413,7 @@ _ti_getterm(name) */ if ((s = getenv("LINES")) != NULL) LINES = atoi(s); - if ((s = getenv("COLS")) != NULL) + if ((s = getenv("COLUMNS")) != NULL) COLS = atoi(s); } lines = LINES; |