Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/bin Modified Files: edje_cc_out.c Log Message: don't check spectra if we don't have any... (fix segv) =================================================================== RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_out.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -3 -r1.50 -r1.51 --- edje_cc_out.c 4 Aug 2006 08:55:05 -0000 1.50 +++ edje_cc_out.c 4 Aug 2006 18:40:31 -0000 1.51 @@ -513,11 +513,14 @@ } } /* check that all spectra are valid */ - for (l = edje_file->spectrum_dir->entries; l; l = l->next) + if (edje_file->spectrum_dir) { - Edje_Spectrum_Directory_Entry *se; - se = l->data; - check_spectrum(se, ef); + for (l = edje_file->spectrum_dir->entries; l; l = l->next) + { + Edje_Spectrum_Directory_Entry *se; + se = l->data; + check_spectrum(se, ef); + } } /* sanity checks for parts and programs */ for (l = edje_collections; l; l = l->next) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs