aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/mi5.awk2
1 files changed, 1 insertions, 1 deletions
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)