Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_object_textblock.c
Log Message:
- make sure the string isn't blank before appending it
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- evas_object_textblock.c 15 Oct 2005 04:42:46 -0000 1.111
+++ evas_object_textblock.c 15 Oct 2005 05:19:11 -0000 1.112
@@ -270,6 +270,7 @@
if (!s2) return s;
l2 = strlen(s2);
+ if (l2 == 0) return s;
tlen = *len + l2;
if (tlen > *alloc)
{
@@ -3967,7 +3968,7 @@
evas_object_textblock_init(Evas_Object *obj)
{
Evas_Object_Textblock *o;
-
+
/* alloc image ob, setup methods and default values */
obj->object_data = evas_object_textblock_new();
/* set up default settings for this kind of object */
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs