From a8021a57138a91d4fa0946daf625d2d7c47349b0 Mon Sep 17 00:00:00 2001 From: tTh Date: Thu, 1 Feb 2024 17:39:33 +0100 Subject: [PATCH] logic error --- BloubWorld/toinc.awk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BloubWorld/toinc.awk b/BloubWorld/toinc.awk index ebf75b0..0cfd2dd 100644 --- a/BloubWorld/toinc.awk +++ b/BloubWorld/toinc.awk @@ -20,16 +20,16 @@ BEGIN { merged = $6 color = "Cyan" - if (age < 18) color = "Gray40" - if (age < 2) color = "Gray10" if (merged) { - if (age > 120) color = "Orange" + if (age > 100) color = "Orange" else color = "Yellow" } else { - if (age > 120) color = "Black" + if (age > 100) color = "Black" else color = "Aquamarine" } + if (age < 18) color = "Gray40" + if (age < 9) color = "Blue" bx += $1 by += $2