From 2d7462c026ef3429103043e7f0ac590e076e316c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 3 Jun 2017 12:32:17 +1200 Subject: Add some missing parentheses --- bin/mi5.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mi5.awk b/bin/mi5.awk index 2deec375..6e3a7ead 100644 --- a/bin/mi5.awk +++ b/bin/mi5.awk @@ -36,7 +36,7 @@ mac && NF { dst = "" # As long as there's a pair of opening and closing tags - while (ind = index(src, open) && index(src, shut) > ind) { + while ((ind = index(src, open)) && index(src, shut) > ind) { # Read up to opening tag into seg, shift from src seg = substr(src, 1, ind - 1) -- cgit v1.2.3