From 890ac9deb2cc57cadd7aba4ee91bd012e19e239d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 7 Oct 2006 15:16:19 +0000 Subject: [PATCH] awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067 --- editors/awk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/awk.c b/editors/awk.c index c1b56d9e5..e74053e75 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -1356,7 +1356,7 @@ static node *mk_splitter(char *s, tsplitter *spl) re = &spl->re[0]; ire = &spl->re[1]; n = &spl->n; - if ((n->info && OPCLSMASK) == OC_REGEXP) { + if ((n->info & OPCLSMASK) == OC_REGEXP) { regfree(re); regfree(ire); } -- 2.25.1