Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_font_load.c Log Message: use engine add's =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_load.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- evas_font_load.c 20 Mar 2005 15:57:55 -0000 1.16 +++ evas_font_load.c 20 Mar 2005 16:41:49 -0000 1.17 @@ -321,7 +321,7 @@ return fn; } -int +RGBA_Font * evas_common_font_add(RGBA_Font *fn, const char *name, int size) { RGBA_Font_Int *fi; @@ -330,12 +330,12 @@ if (fi) { fn->fonts = evas_list_append(fn->fonts, fi); - return 1; + return fn; } - return 0; + return NULL; } -int +RGBA_Font * evas_common_font_memory_add(RGBA_Font *fn, const char *name, int size, const void *data, int data_size) { RGBA_Font_Int *fi; @@ -344,9 +344,9 @@ if (fi) { fn->fonts = evas_list_append(fn->fonts, fi); - return 1; + return fn; } - return 0; + return NULL; } void ------------------------------------------------------- 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