Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_eap_editor.c 


Log Message:
Don't bother if there is no file selected.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_eap_editor.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_eap_editor.c      31 Jul 2006 18:21:48 -0000      1.35
+++ e_eap_editor.c      10 Aug 2006 13:29:59 -0000      1.36
@@ -453,9 +453,10 @@
 
    cfdata = data;
    file = e_widget_fsel_selection_path_get(obj);
+   if (!file) return;
 
    E_FREE(cfdata->image);
-   if (file) cfdata->image = strdup(file);
+   cfdata->image = strdup(file);
 }
 
 static void



-------------------------------------------------------------------------
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