summaryrefslogtreecommitdiffstats
path: root/lib/libmytinfo/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmytinfo/termcap.c')
-rw-r--r--lib/libmytinfo/termcap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libmytinfo/termcap.c b/lib/libmytinfo/termcap.c
index 8e8a3f3..f914c0b 100644
--- a/lib/libmytinfo/termcap.c
+++ b/lib/libmytinfo/termcap.c
@@ -31,7 +31,7 @@ char *term, *buf; {
int r = -1;
int fd;
- if (term == NULL)
+ if (term == NULL)
term = getenv("TERM");
if (term == NULL)
return 0;
@@ -95,7 +95,7 @@ char *term, *buf; {
if (_init_tty() == ERR)
return 0;
- if ((s = getenv("LINES")) != NULL && atoi(s) > 0)
+ if ((s = getenv("LINES")) != NULL && atoi(s) > 0)
lines = atoi(s);
if ((s = getenv("COLUMNS")) != NULL && atoi(s) > 0)
columns = atoi(s);
@@ -113,7 +113,7 @@ tgetnum(cap)
char *cap; {
int ind;
- cap2[0] = cap[0];
+ cap2[0] = cap[0];
cap2[1] = cap[1];
cap2[2] = '\0';
@@ -128,7 +128,7 @@ tgetflag(cap)
char *cap; {
int ind;
- cap2[0] = cap[0];
+ cap2[0] = cap[0];
cap2[1] = cap[1];
cap2[2] = '\0';
@@ -145,7 +145,7 @@ char **area; {
register char *sp, *dp;
int ind;
- cap2[0] = cap[0];
+ cap2[0] = cap[0];
cap2[1] = cap[1];
cap2[2] = '\0';
OpenPOWER on IntegriCloud