Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon/src/lib


Modified Files:
        Epsilon.c 


Log Message:
- its amazing how much problems a simple null check can cause. this fixes edje 
thumbing again. apparently it was broken when the whole epsilon_thumb stuff was 
added.


===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/lib/Epsilon.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- Epsilon.c   30 Apr 2006 22:30:26 -0000      1.27
+++ Epsilon.c   20 May 2006 10:24:03 -0000      1.28
@@ -640,7 +640,8 @@
    if (  (plugin = ecore_hash_get(plugins_mime, mime)) ) {
        tmp = (*plugin->epsilon_generate_thumb)(e);
    } else {
-       tmp = imlib_load_image_immediately_without_cache (e->src);
+        if(!tmp)
+           tmp = imlib_load_image_immediately_without_cache (e->src);
        imlib_context_set_image (tmp);
        snprintf (format, sizeof(format), "image/%s", imlib_image_format ());
       }




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to