Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: text.c Log Message: Add sanity check. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -3 -r1.49 -r1.50 --- text.c 9 Mar 2005 22:55:50 -0000 1.49 +++ text.c 9 Mar 2005 23:06:43 -0000 1.50 @@ -315,6 +315,9 @@ int textwidth_limit, offset_x, offset_y; Pixmap drawable; + if (w <= 0 || h <= 0) + return; + TextStateLoadFont(ts); /* Do encoding conversion, if necessary */ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs