Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_out.c 


Log Message:


actually... error on any  source file not being able to be found, decoded or
written out. images AND fonts. :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- edje_cc_out.c       9 Oct 2004 16:23:29 -0000       1.27
+++ edje_cc_out.c       10 Oct 2004 04:25:42 -0000      1.28
@@ -194,8 +194,9 @@
          }
        if (!fdata)
          {
-            fprintf(stderr, "%s: Warning. unable to open font \"%s\" for inclusion in 
output\n",
-                    progname, fn->file);
+            fprintf(stderr, "%s: Error. unable to load font part \"%s\" entry to %s 
\n",
+                    progname, fn->file, file_out);
+            ABORT_WRITE(ef, file_out);
          }
        else
          {
@@ -350,8 +351,9 @@
                    }
                  else
                    {
-                      fprintf(stderr, "%s: Warning. unable to open image \"%s\" for 
inclusion in output\n",
-                              progname, img->entry);                     
+                      fprintf(stderr, "%s: Error. unable to load image for image part 
\"%s\" as \"%s\" part entry to %s \n",
+                              progname, img->entry, buf, file_out);    
+                      ABORT_WRITE(ef, file_out);
                    }
               }
          }
@@ -372,9 +374,9 @@
 
             if (!epd)
               {
-            fprintf(stderr, "%s: Error. description missing for part \"%s\"\n",
-                    progname, ep->name);
-            ABORT_WRITE(ef, file_out);
+                 fprintf(stderr, "%s: Error. description missing for part \"%s\"\n",
+                         progname, ep->name);
+                 ABORT_WRITE(ef, file_out);
               }
 /*
             if (epd->text.font)
@@ -553,7 +555,6 @@
                       ret = system(buf);
                       if (ret != 0)
                         {
-                           printf("%i\n", ret);
                            fprintf(stderr, "%s: Warning. Compiling script code not 
clean.\n",
                                    progname);  
                            ABORT_WRITE(ef, file_out);




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to