Hello,

Efreet_Mime did not match last set of magics for given mime-type due to
missing check after the loop. This bug was partially masked by the
problem fixed in my previous patch.

Fix:

Attachment: pgprZD6FXbEVv.pgp
Description: PGP signature

Index: src/lib/efreet_mime.c
===================================================================
--- src/lib/efreet_mime.c	(revision 41221)
+++ src/lib/efreet_mime.c	(working copy)
@@ -1272,6 +1272,12 @@
                 }
             }
         }
+
+        if (last_mime)
+        {
+            fclose(f);
+            return last_mime;
+        }
     }
     fclose(f);
 
-- 
------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to