From 666957fb4f1262db5d0ca67d6f417cc6ebf8eed6 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:50:27 +0000 Subject: [PATCH] 2002/09/15 23:34:27 darcs-hash:20040130065027-2ba56-7e32b8a4723930ed447437ade68166caa96c2720.gz --- CHANGES | 3 +++ src/org/xwt/Box.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 34b535f..c1230d7 100644 --- a/CHANGES +++ b/CHANGES @@ -401,4 +401,7 @@ 03-Sep megacz XWF.java: code to handle .xwf's that don't include the underscore character. +15-Sep megacz Box.java: committed a change that I forgot to commit + dealing with box removal. + diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index d380b45..4c2e1b4 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -1105,7 +1105,7 @@ public final class Box extends JSObject { } if (numKids > 15 && children == null) convert_to_array(); - if (newnode.parent != null) newnode.remove(); + newnode.remove(); newnode.parent = this; if (children == null) { -- 1.7.10.4