From a20d4feff7a9031076959bb4ffe664722bff3027 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 26 Dec 2001 01:57:19 +0000 Subject: [w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in From: Hironori Sakamoto --- scripts/multipart/multipart.cgi.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in index fb13443..d009519 100644 --- a/scripts/multipart/multipart.cgi.in +++ b/scripts/multipart/multipart.cgi.in @@ -1,9 +1,12 @@ #!@PERL@ -if ($use_NKF = eval "use NKF;") { +eval { use NKF; }; +if (! $@) { + $use_NKF = 1; $CONV = "-e"; $MIME_DECODE = "-m -e"; } else { + $use_NKF = 0; # $CONV = "w3m -dump -e"; $CONV = "@NKF@ -e"; $MIME_DECODE = "@NKF@ -m -e"; -- cgit v1.2.3