w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 240d5ed441054c3d55032769491ffe6e7012a134
parent e52e515e14bacfb125e29ee7033e0d98b0592715
Author: ukai <ukai>
Date:   Sun, 25 Nov 2001 17:41:57 +0000

[w3m-dev 02547] "message/*" as a kind of text type
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mfile.c | 3++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02547] "message/*" as a kind of text type + * file.c (is_text_type): add message/* + 2001-11-25 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> * [w3m-dev 02535] Name conflicts in configure diff --git a/file.c b/file.c @@ -208,7 +208,8 @@ static int is_text_type(char *type) { return (type == NULL || type[0] == '\0' || - strncasecmp(type, "text/", 5) == 0); + strncasecmp(type, "text/", 5) == 0 || + strncasecmp(type, "message/", sizeof("message/") - 1) == 0); } static int