Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm.c 


Log Message:
Check that the mime handler has a label before trying to strcmp it.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -3 -r1.222 -r1.223
--- e_fm.c      24 Oct 2007 08:43:00 -0000      1.222
+++ e_fm.c      24 Oct 2007 18:25:44 -0000      1.223
@@ -6532,7 +6532,9 @@
    if (!data1) return 1;
    if (!data2) return -1;
    d1 = data1;
+   if (!d1->label) return 1;
    d2 = data2;
+   if (!d2->label) return -1;
    return (strcmp(d1->label, d2->label));
 }
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to