diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-12-05 11:00:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-12-05 11:00:08 +0000 |
commit | bd588f625a1d3c9cd8bf255d1109a36013d2f094 (patch) | |
tree | 5d4f72383dedbbc88d6725e6b879cc11330ee7a8 /Src/Modules/terminfo.c | |
parent | 0c96a1b9637487a49bcbdf8dbd8577a71a69203c (diff) | |
download | zsh-bd588f625a1d3c9cd8bf255d1109a36013d2f094.tar.gz zsh-bd588f625a1d3c9cd8bf255d1109a36013d2f094.tar.xz zsh-bd588f625a1d3c9cd8bf255d1109a36013d2f094.zip |
terminfo tweaks
Diffstat (limited to 'Src/Modules/terminfo.c')
-rw-r--r-- | Src/Modules/terminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c index 4fe1b3cec..52b0b27f8 100644 --- a/Src/Modules/terminfo.c +++ b/Src/Modules/terminfo.c @@ -67,7 +67,7 @@ bin_echoti(char *name, char **argv, char *ops, int func) /* get a string-type capability */ t = (char *)tigetstr(s); - if (!t || !*t) { + if (!t || t == (char *)-1 || !*t) { /* capability doesn't exist, or (if boolean) is off */ zwarnnam(name, "no such terminfo capability: %s", s, 0); return 1; |