diff options
Diffstat (limited to 'contrib/ncurses')
-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 fdfce05..73302f8 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); } |