Revision: 3492
          http://vexi.svn.sourceforge.net/vexi/?rev=3492&view=rev
Author:   clrg
Date:     2009-04-29 10:49:51 +0000 (Wed, 29 Apr 2009)

Log Message:
-----------
Fix null object access

Modified Paths:
--------------
    trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t

Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2009-04-27 
10:26:35 UTC (rev 3491)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2009-04-29 
10:49:51 UTC (rev 3492)
@@ -483,7 +483,7 @@
             var cwt = cWord ? cWord.text : "";
             var cbi = thisbox.indexof(cBlock);
             var coff = cwt.length;
-            var type = cWord.chartype;
+            var type = cWord ? cWord.chartype : null;
             var head, tail, tmpb;
             
             if (cWord) {


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

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to