diff options
-rwxr-xr-x | build | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -230,10 +230,9 @@ compile_for_lang() { close(CMD) for (i = 1; i <= 3; i++) { - if (i == 3 && denom == 5) { - print "</tr>" + 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 "<tr class=new-design><th colspan=12>"sig"</th></tr>" - 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 "<trX>" printf "<td colspan=X class=%s>", getcls(s[i]) printf "%s (%s)", cc2name[col[j][0]], cc2c[col[j][0]] printf "</td>" - if (c % 4 == 3 && j < length(col)) + if (c % 4 == 0) print "</tr>" - if (c % 4 != 3 || j != length(col)) - c++ + c++ } - if ((c - 1) % 4 != 3) + if ((c - 2) % 4 != 3) print "</tr>" } print "MARKER LOL" |