commit 1a9c4fb250d4f44d8283ce2a1c1004d348ae9f33
parent d3850bf9d93ab455abbc7687639b2449cfe2ac88
Author: ukai <ukai>
Date: Sun, 22 Dec 2002 14:26:34 +0000
mimehead.c (decodeWord): don't use toupper() (requires ctype.h)
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-22 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * mimehead.c (decodeWord): don't use toupper() (requires ctype.h)
+
2002-12-22 ABE Yuji <cbo46560@pop12.odn.ne.jp>
* [w3m-dev 03594] mime decode with encoding named 'b' & 'q'
diff --git a/mimehead.c b/mimehead.c
@@ -217,11 +217,13 @@ decodeWord(char **ow)
goto convert_fail;
w++;
p = w;
- switch (toupper(method)) {
+ switch (method) {
case 'B':
+ case 'b':
a = decodeB(&w);
break;
case 'Q':
+ case 'q':
a = decodeQ(&w);
break;
default: