From a07e76be46c6daba7c528e26afad83dab1c930b4 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:42:05 +0000 Subject: [PATCH] 2003/11/26 02:14:07 darcs-hash:20040130074205-2ba56-5fc6328ca5080cb568fec30cce67a2447eeafd3c.gz --- src/org/xwt/Box.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index c195b48..280924c 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -205,7 +205,7 @@ public final class Box extends JSScope { short r = 0; for(Box child = firstPackedChild(); child != null; r++) { for(short c=0, numclear=0; child != null && c < cols; c++) { - if (numRowsInCol[c] > r) continue; + if (numRowsInCol[c] > r) { numclear = 0; continue; } if (c != 0 && c + min(cols, child.colspan) - numclear > cols) break; if (++numclear < min(cols, child.colspan)) continue; for(int i=c - numclear + 1; i <= c; i++) numRowsInCol[i] += child.rowspan; -- 1.7.10.4