Revision: 3573
          http://vexi.svn.sourceforge.net/vexi/?rev=3573&view=rev
Author:   clrg
Date:     2009-07-30 02:21:12 +0000 (Thu, 30 Jul 2009)

Log Message:
-----------
D'oh - fix clear() being broken

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp

Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2009-07-30 02:03:24 UTC 
(rev 3572)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2009-07-30 02:21:12 UTC 
(rev 3573)
@@ -1235,7 +1235,7 @@
                 //#switch(JSU.toString(method))
                 case "forcereflow": reflow(); return null;
                 case "clear":
-                    for (int i = JSU.toInt(get(SC_numchildren)); i>=0; i--)
+                    for (int i = JSU.toInt(get(SC_numchildren))-1; i>=0; i--)
                         put(i, null);
                     return null;
                 //#end


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to