about summary refs log tree commit diff
path: root/Src/Zle/zle_thingy.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-09-08 15:23:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-09-08 15:23:47 +0000
commit65bbf722d9061b99c70722fc613ca612d4bd48d6 (patch)
tree511c21101cbe5f51864954ab46ddc14ddc7f64b2 /Src/Zle/zle_thingy.c
parent70857d0d753920d8a65a8812264997828c70387b (diff)
downloadzsh-65bbf722d9061b99c70722fc613ca612d4bd48d6.tar.gz
zsh-65bbf722d9061b99c70722fc613ca612d4bd48d6.tar.xz
zsh-65bbf722d9061b99c70722fc613ca612d4bd48d6.zip
20330: rationalise zle return statuses
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r--Src/Zle/zle_thingy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index c252eee1e..441d85b2c 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -709,7 +709,7 @@ bin_zle_invalidate(UNUSED(char *name), UNUSED(char **args), UNUSED(Options ops),
     if (zleactive) {
 	if (!trashedzle)
 	    trashzle();
-	return !zle_usable();
+	return 0;
     } else
 	return 1;
 }