Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_image_main.c 


Log Message:


dont realod ye demons of evil slowness! FIX FIX! cache you biotch! cache!

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evas_image_main.c   27 Jan 2005 10:05:41 -0000      1.16
+++ evas_image_main.c   1 Apr 2005 07:14:15 -0000       1.17
@@ -398,7 +398,7 @@
 RGBA_Image *
 evas_common_image_find(const char *filename, const char *key, DATA64 timestamp)
 {
-   char *real_filename;
+   char *real_filename = NULL;
    Evas_Object_List *l;
    RGBA_Image *im;
    char *str;
@@ -407,7 +407,7 @@
    
    if ((!filename) && (!key)) return NULL;
    if (!filename) return NULL;
-   real_filename = evas_file_path_resolve((char *)filename);
+//   real_filename = evas_file_path_resolve((char *)filename);
    l1 = 0;
    if (real_filename) l1 = strlen(real_filename);
    else if (filename) l1 = strlen(filename);
@@ -442,7 +442,7 @@
        
        im = (RGBA_Image *)l;
        ok = 0;
-       if (real_filename)
+       if ((real_filename) && (im->info.real_file))
          {
              if ((im->info.real_file) &&
                 (real_filename) &&




-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to