Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/etox
Dir : e17/libs/etox/src Modified Files: etox.c Log Message: Dan pointed out I was being dumb, thanks. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v retrieving revision 1.106 retrieving revision 1.107 diff -u -3 -r1.106 -r1.107 --- etox.c 7 Dec 2004 02:52:23 -0000 1.106 +++ etox.c 7 Dec 2004 03:24:54 -0000 1.107 @@ -25,15 +25,15 @@ Etox *et; const Evas_List *font_paths; int path_found = 0; + char buf[PATH_MAX]; CHECK_PARAM_POINTER_RETURN("evas", evas, NULL); + strncpy(buf, PACKAGE_DATA_DIR "/fonts", PATH_MAX); font_paths = evas_font_path_list(evas); while (font_paths) { - char buf[PATH_MAX]; char *path = font_paths->data; - strncpy(buf, PACKAGE_DATA_DIR "/fonts", PATH_MAX); if (!strcmp(path, buf)) { path_found = 1; break; ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs