From: <enl...@li...> - 2003-12-21 23:09:45
|
Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/estyle Dir : e17/libs/estyle/src Modified Files: estyle.c Log Message: Check the input when setting the text. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/estyle.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- estyle.c 18 Oct 2003 16:22:46 -0000 1.30 +++ estyle.c 21 Dec 2003 23:09:42 -0000 1.31 @@ -424,6 +424,8 @@ CHECK_PARAM_POINTER("obj", obj); es = evas_object_smart_data_get(obj); + if (!text) + text = strdup(""); /* * Wheee!! what fun, to get the sizing right when spaces end the |