From 6e56f41e4a668cbd39d3cd09e2afa1c39eb36e5e Mon Sep 17 00:00:00 2001 From: Christian Vogel Date: Tue, 25 Feb 2003 21:37:59 +0000 Subject: [PATCH] Recognize MH folders used by sylpheed. --- mx.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.50.1