Revision: 3417
          http://vexi.svn.sourceforge.net/vexi/?rev=3417&view=rev
Author:   clrg
Date:     2009-03-11 09:47:51 +0000 (Wed, 11 Mar 2009)

Log Message:
-----------
Add null check to void exceptions

Modified Paths:
--------------
    trunk/widgets/org.vexi.widgets/src/vexi/util/string.t

Modified: trunk/widgets/org.vexi.widgets/src/vexi/util/string.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/vexi/util/string.t       2009-03-11 
08:32:33 UTC (rev 3416)
+++ trunk/widgets/org.vexi.widgets/src/vexi/util/string.t       2009-03-11 
09:47:51 UTC (rev 3417)
@@ -21,7 +21,7 @@
         var strlen = 0;
         for (var i=0; l>i; i++) {
             var s = static.format(arr[i], indent+". ");
-            strlen += s.length;
+            strlen += s ? s.length : 4;
             simple[i] = s;
         }
         if (strlen==0) return "[ ]";


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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to