fixed bug 532
authoradam <adam@megacz.com>
Sat, 10 Apr 2004 03:32:22 +0000 (03:32 +0000)
committeradam <adam@megacz.com>
Sat, 10 Apr 2004 03:32:22 +0000 (03:32 +0000)
darcs-hash:20040410033222-5007d-043e45d4bfb62258fa4d9b3c8603025e681e59cb.gz

src/org/ibex/Box.java

index 4e6f374..49808b3 100644 (file)
@@ -312,7 +312,7 @@ public final class Box extends JSScope implements Scheduler.Task {
         //#repeat col/row colspan/rowspan contentwidth/contentheight width/height HSHRINK/VSHRINK numregions/numregions_v \
         //        maxwidth/maxheight cols/rows minwidth/minheight lp_h/lp lp_h/lp easy_width/easy_height regions/regions_v \
         //        computeRegions/computeRegions_v
-        if (numkids > 0 && cols > 1) do {
+        if (numkids > 0) do {
             computeRegions();
             int nc = numregions * 3 + numkids * 2 + 3;
             if (coeff == null || nc+1>coeff.length) coeff = new float[nc+1];