Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_font.c Log Message: dont die if u dont rm your cfg =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_font.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_font.c 2 Apr 2005 17:11:04 -0000 1.1 +++ e_font.c 3 Apr 2005 01:52:16 -0000 1.2 @@ -9,8 +9,8 @@ * - use e_path to search for available fonts */ -static Evas_List *_e_font_defaults; /* MRU <E_Font_Default> */ -static Evas_List *_e_font_fallbacks; /* <E_Font_Fallback> */ +static Evas_List *_e_font_defaults = NULL; /* MRU <E_Font_Default> */ +static Evas_List *_e_font_fallbacks = NULL; /* <E_Font_Fallback> */ static Evas_List *_e_font_font_dir_available_get (Evas_List * available_fonts, const char *font_dir); @@ -50,7 +50,8 @@ { edje_fontset_append_set(NULL); } - + + buf[0] = 0; while (next) { eff = evas_list_data(next); @@ -58,7 +59,8 @@ strcat(buf, eff->name); next = evas_list_next(next); } - edje_fontset_append_set(buf); + if (buf[0] != 0) + edje_fontset_append_set(buf); /* setup edje text classes */ next = _e_font_defaults; ------------------------------------------------------- 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