Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_text.c
Log Message:
oops, orig_len is size_t now
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_text.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- edje_text.c 30 Oct 2004 19:18:32 -0000 1.29
+++ edje_text.c 30 Oct 2004 19:23:39 -0000 1.30
@@ -422,7 +422,7 @@
break;
}
}
- else if (c1 >= orig_len || c2 == 0)
+ else if ((c1 > 0 && c1 >= orig_len) || c2 == 0)
{
buf[0] = 0;
break;
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs