Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        etox.c 


Log Message:
If an index is longer than the etox, return the last line when searching. This
allows large numbers to be specified to the end of an etox.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- etox.c      23 Jul 2003 21:57:07 -0000      1.41
+++ etox.c      23 Jul 2003 22:11:55 -0000      1.42
@@ -1214,9 +1214,7 @@
                l = l->next;
        }
 
-       if (!l)
-               line = NULL;
-       else
+       if (line)
                *i -= len - line->length;
 
        return 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