Refuse zero length fonts.

SVN revision: 21532
This commit is contained in:
Stafford Mitchell Horne 2006-03-28 16:28:54 +00:00
parent 39c1195176
commit 59fb5be456
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ evas_font_load(Evas *evas, const char *name, const char *source, int size)
Fndat *fd;
if (!name) return NULL;
if (name[0] == 0) return NULL;
for (l = fonts_cache; l; l = l->next)
{