From 617b29a94a236f538e0ec4670f18d47e212dfa63 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 3 Jul 2000 09:38:46 +0000 Subject: Fix a merge glitch - put our FREEBSD_NATIVE hack back in the original place. The author saw fit to reindent the code which messed this up. --- contrib/ncurses/ncurses/tinfo/lib_termcap.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'contrib') 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); } -- cgit v1.1