Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        etox_line.c 


Log Message:
Fix a problem unwrapping/re-wrapping text.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox_line.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- etox_line.c 1 Aug 2003 21:12:13 -0000       1.17
+++ etox_line.c 3 Aug 2003 05:05:04 -0000       1.18
@@ -406,7 +406,7 @@
                FREE(tmp);
        }
 
-       if (index < estyle_length(bit)) {
+       if (index >= 0 && index < estyle_length(bit)) {
 
                etox_line_split(line, bit, index);
                ll = evas_list_find_list(et->lines, line);




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to