From 7190ab611bc97acf1c4e75b4fc17050234ee921d Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 4 Sep 2002 14:58:51 +0000 Subject: Merge 16613 from development version. --- Src/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src') diff --git a/Src/init.c b/Src/init.c index ffe873e4f..645897982 100644 --- a/Src/init.c +++ b/Src/init.c @@ -535,11 +535,11 @@ init_term(void) #ifdef TGETENT_ACCEPTS_NULL /* If possible, we let tgetent allocate its own termcap buffer */ - if (tgetent(NULL, term) != 1) { + if (tgetent(NULL, term) != TGETENT_SUCCESS) #else - if (tgetent(termbuf, term) != 1) { + if (tgetent(termbuf, term) != TGETENT_SUCCESS) #endif - + { if (isset(INTERACTIVE)) zerr("can't find terminal definition for %s", term, 0); errflag = 0; -- cgit 1.4.1