]> granicus.if.org Git - mutt/commitdiff
Recognize MH folders used by sylpheed.
authorChristian Vogel <vogelchr@vogel.cx>
Tue, 25 Feb 2003 21:37:59 +0000 (21:37 +0000)
committerChristian Vogel <vogelchr@vogel.cx>
Tue, 25 Feb 2003 21:37:59 +0000 (21:37 +0000)
mx.c

diff --git a/mx.c b/mx.c
index bfafde1fe9c36815f27c43779b1b181692560f6b..59f577d5402a142531473c868270009e778246c6 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -397,6 +397,10 @@ int mx_get_magic (const char *path)
     snprintf (tmp, sizeof (tmp), "%s/.mew-cache", path);
     if (access (tmp, F_OK) == 0)
       return (M_MH);
+    
+    snprintf (tmp, sizeof (tmp), "%s/.sylpheed_cache", path);
+    if (access (tmp, F_OK) == 0)
+      return (M_MH);
 
     /* 
      * ok, this isn't an mh folder, but mh mode can be used to read