From: Christian Vogel Date: Tue, 25 Feb 2003 21:37:59 +0000 (+0000) Subject: Recognize MH folders used by sylpheed. X-Git-Tag: mutt-1-5-4-rel~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e56f41e4a668cbd39d3cd09e2afa1c39eb36e5e;p=mutt Recognize MH folders used by sylpheed. --- diff --git a/mx.c b/mx.c index bfafde1f..59f577d5 100644 --- 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