From b673918c0ffd358a31353c86c1084286741f7306 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 7 Jun 2002 18:04:06 +0000 Subject: 17304: tweak to tweak the tweaked tweak for zle -I in 17301 --- Src/Zle/zle_thingy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Src') diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index 26fc49906..2946ea209 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -672,8 +672,9 @@ bin_zle_call(char *name, char **args, char *ops, char func) static int bin_zle_invalidate(char *name, char **args, char *ops, char func) { - if (zleactive && !trashedzle) { - trashzle(); + if (zleactive) { + if (!trashedzle) + trashzle(); return 0; } else return 1; -- cgit 1.4.1