Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_calc.c
Log Message:
more NULL string handling
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- edje_calc.c 6 Nov 2005 03:32:01 -0000 1.72
+++ edje_calc.c 23 Nov 2005 13:02:09 -0000 1.73
@@ -567,6 +567,7 @@
}
}
}
+ if (!font) font = "";
if (ep->text.text_source)
{
@@ -586,6 +587,8 @@
if (ep->text.font) font = ep->text.font;
if (ep->text.size > 0) size = ep->text.size;
}
+ if (!text) text = "";
+
/* check if the font is embedded in the .eet */
/* FIXME: we should cache this result */
if (ed->file->font_dir)
-------------------------------------------------------
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. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs