summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/awk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c
index c1b56d9..e74053e 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);
}