summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorMiles Ohlrich <miles.ohlrich@isilon.com>2014-08-04 14:35:10 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-08-04 14:35:10 -0700
commit22ee3a4fd9698b221d10ecda501d7579132e95fc (patch)
tree0782d996880c034d27fe79836cba1f49f23a0644 /Src/Zle
parentef3fd473c0a5ab5e5f50c6498498727904aa4373 (diff)
downloadzsh-22ee3a4fd9698b221d10ecda501d7579132e95fc.tar.gz
zsh-22ee3a4fd9698b221d10ecda501d7579132e95fc.tar.xz
zsh-22ee3a4fd9698b221d10ecda501d7579132e95fc.zip
32958: bitwise logic fix
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 2563095d8..52b9e9c82 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -3391,7 +3391,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
 		    mflags |= CMF_FILE;
 		    for (n = firstnode(l); n; incnode(n))
 			addmatch(getdata(n), NULL);
-		    mflags &= !CMF_FILE;
+		    mflags &= ~CMF_FILE;
 		}
 		opts[NULLGLOB] = ng;
 	    } else {