Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_embryo.c Log Message: oops got errors the wrong way =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_embryo.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- edje_embryo.c 24 Aug 2004 01:48:19 -0000 1.24 +++ edje_embryo.c 24 Aug 2004 02:11:38 -0000 1.25 @@ -1246,15 +1246,13 @@ embryo_parameter_string_push(ed->collection->script, src); pdata = embryo_program_data_get(ed->collection->script); embryo_program_data_set(ed->collection->script, ed); - err = embryo_program_run(ed->collection->script, fn); - - if (err != EMBRYO_ERROR_NONE) + if (!embryo_program_run(ed->collection->script, fn)) { printf("EDJE: ERROR with embryo script.\n" "FUNCTION: %s\n" "ERROR: %s\n", fname, - embryo_error_string_get(err)); + embryo_error_string_get(embryo_program_error_get(ed->collection->script))); } embryo_program_data_set(ed->collection->script, pdata); printf("EDJE DEBUG: Done.\n"); ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs