Enlightenment CVS committal

Author  : shorne
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_font_dir.c 


Log Message:
Refuse zero length fonts.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_font_dir.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- evas_font_dir.c     19 Mar 2006 11:17:43 -0000      1.17
+++ evas_font_dir.c     28 Mar 2006 16:28:54 -0000      1.18
@@ -139,6 +139,7 @@
    Fndat *fd;
 
    if (!name) return NULL;
+   if (name[0] == 0) return NULL;
    
    for (l = fonts_cache; l; l = l->next)
      {




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to