logic error
This commit is contained in:
parent
c16269f4e8
commit
a8021a5713
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue