summaryrefslogtreecommitdiff
path: root/www/w3m/files/patch-file.c
blob: abc5bb03800d42cfe2daf59a49950b6837634863 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- file.c.orig	Thu May 24 00:06:05 2007
+++ file.c	Sat Jun  9 12:44:09 2007
@@ -262,7 +262,8 @@
 {
     return (type == NULL || type[0] == '\0' ||
 	    strncasecmp(type, "text/", 5) == 0 ||
-	    strncasecmp(type, "message/", sizeof("message/") - 1) == 0);
+	    strncasecmp(type, "message/", sizeof("message/") - 1) == 0 ||
+	    IS_HTML(type));
 }
 
 static int