diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2002-09-04 14:58:51 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-09-04 14:58:51 +0000 |
commit | 7190ab611bc97acf1c4e75b4fc17050234ee921d (patch) | |
tree | 73b8c68c43ae3ec1b5ee864f23743b3f6dcd05e7 /Src | |
parent | 271732333202492d726336113a01cb3349ef26eb (diff) | |
download | zsh-7190ab611bc97acf1c4e75b4fc17050234ee921d.tar.gz zsh-7190ab611bc97acf1c4e75b4fc17050234ee921d.tar.xz zsh-7190ab611bc97acf1c4e75b4fc17050234ee921d.zip |
Merge 16613 from development version.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |