diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-07-03 09:38:46 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-07-03 09:38:46 +0000 |
commit | b589b6f200796e06347ddfa76d34fbe0d609a9c2 (patch) | |
tree | 1d433597b33a1b30e5f440f4575625d1d571a69f | |
parent | 82d9ae4e32fad7f55867e1e63054aef03b0a5fc8 (diff) |
Notes
-rw-r--r-- | contrib/ncurses/ncurses/tinfo/lib_termcap.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/ncurses/ncurses/tinfo/lib_termcap.c b/contrib/ncurses/ncurses/tinfo/lib_termcap.c index fdfce051eddc..73302f8933b0 100644 --- a/contrib/ncurses/ncurses/tinfo/lib_termcap.c +++ b/contrib/ncurses/ncurses/tinfo/lib_termcap.c @@ -103,16 +103,17 @@ tgetent(char *bufp GCC_UNUSED, const char *name) /* LINT_PREPRO #endif*/ + } + #ifdef FREEBSD_NATIVE - /* - * This is a REALLY UGLY hack. Basically, if we originate with - * a termcap source, try and copy it out. - */ - if (bufp && _nc_termcap[0]) - strncpy(bufp, _nc_termcap, 1024); + /* + * This is a REALLY UGLY hack. Basically, if we originate with + * a termcap source, try and copy it out. + */ + if (bufp && _nc_termcap[0]) + strncpy(bufp, _nc_termcap, 1024); #endif - } returnCode(errcode); } |