From fa5347b18f9bf028d97b02163cbf0e7cba369640 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 25 Jun 2023 19:17:52 +0200 Subject: Fix some bugs --- build | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/build b/build index 1a4d07e..8663c41 100755 --- a/build +++ b/build @@ -230,10 +230,9 @@ compile_for_lang() { close(CMD) for (i = 1; i <= 3; i++) { - if (i == 3 && denom == 5) { - print "" + if (i == 3 && denom == 5) break - } + if (i == 1) sig = "Wim Duisenberg" else if (i == 2) @@ -242,26 +241,25 @@ compile_for_lang() { sig = "Mario Draghi" print ""sig"" - c = 0 + c = 1 for (j = 1; j <= length(col); j++) { split(col[j][1], s, " ") if (s[i] == "/") continue - if (c % 4 == 0) + if ((c - 1) % 4 == 0) printf "" printf "", getcls(s[i]) printf "%s (%s)", cc2name[col[j][0]], cc2c[col[j][0]] printf "" - if (c % 4 == 3 && j < length(col)) + if (c % 4 == 0) print "" - if (c % 4 != 3 || j != length(col)) - c++ + c++ } - if ((c - 1) % 4 != 3) + if ((c - 2) % 4 != 3) print "" } print "MARKER LOL" -- cgit v1.2.3