From: Bruno Haible Date: Tue, 12 Jun 2001 13:25:21 +0000 (+0000) Subject: Don't hardwire the number of teams. X-Git-Tag: v0.11~660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d96bb9b2fc9fda36c638e27af96e70878ede50;p=thirdparty%2Fgettext.git Don't hardwire the number of teams. --- diff --git a/Admin/Matrix.java b/Admin/Matrix.java index 1a020c55a..9512ca687 100644 --- a/Admin/Matrix.java +++ b/Admin/Matrix.java @@ -136,11 +136,11 @@ public class Matrix { // Split into separate tables, to keep 80 column width. int ngroups; int[][] groups; - if (nteams == 29) { + if (true) { ngroups = 2; groups = new int[ngroups][]; - groups[0] = new int[] { 0, 15 }; - groups[1] = new int[] { 15, 29 }; + groups[0] = new int[] { 0, nteams/2+1 }; + groups[1] = new int[] { nteams/2+1, nteams }; } else { ngroups = 1; groups = new int[ngroups][];