]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't hardwire the number of teams.
authorBruno Haible <bruno@clisp.org>
Tue, 12 Jun 2001 13:25:21 +0000 (13:25 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 12 Jun 2001 13:25:21 +0000 (13:25 +0000)
Admin/Matrix.java

index 1a020c55a8faf3a668aecaeebd3f44488d8479e3..9512ca68751521490ad6e6a89c6fcd9fc7e64043 100644 (file)
@@ -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][];