Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_object_textblock.c
Log Message:
empty string SHOULD work now if the node is non exiustant to start with
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- evas_object_textblock.c 15 Oct 2005 22:02:59 -0000 1.114
+++ evas_object_textblock.c 28 Oct 2005 02:46:16 -0000 1.115
@@ -268,7 +268,13 @@
int l2;
int tlen;
- if ((!s2) || (!s2[0])) return s;
+ if (!s2) return s;
+ if ((!s) && (s2[0] == 0))
+ {
+ *len = 0;
+ *alloc = 1;
+ return strdup("");
+ }
l2 = strlen(s2);
tlen = *len + l2;
if (tlen > *alloc)
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs