diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libtermcap/termcap.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'lib/libtermcap/termcap.c')
-rw-r--r-- | lib/libtermcap/termcap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c index 0b0a8ac..38ae9da 100644 --- a/lib/libtermcap/termcap.c +++ b/lib/libtermcap/termcap.c @@ -130,8 +130,8 @@ tgetent(bp, name) if (cgetset(cp) < 0) return(-2); - i = cgetent(&dummy, pathvec, name); - + i = cgetent(&dummy, pathvec, name); + if (i == 0) { char *pd, *ps, *tok, *s, *tcs; size_t len; @@ -236,7 +236,7 @@ tgetstr(id, area) char ids[3]; char *s; int i; - + /* * XXX * This is for all the boneheaded programs that relied on tgetstr @@ -248,7 +248,7 @@ tgetstr(id, area) if ((i = cgetstr(tbuf, ids, &s)) < 0) return NULL; - + strcpy(*area, s); *area += i + 1; return(s); |