w3m

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

commit f6daf95d5cf503d773f1e9a0d5a46d417976d938
parent 681c3b11f91887fc2a0b2910eb82f8e25d2bf143
Author: ukai <ukai>
Date:   Wed, 21 Apr 2004 16:42:17 +0000

build error for --enable-m17n --disable-unicode
* libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE
From: Masao Uebayashi <uebayasi@pultek.co.jp>

Diffstat:
MChangeLog | 5+++++
Mlibwc/detect.c | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-22 Masao Uebayashi <uebayasi@pultek.co.jp> + + * fix build error for --enable-m17n --disable-unicode + * libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE + 2004-04-17 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 04064] authentication diff --git a/libwc/detect.c b/libwc/detect.c @@ -63,7 +63,9 @@ wc_create_detect_map(wc_ces ces, wc_bool esc) for (i = 0; i < 0x20; i++) WC_DETECT_MAP[i] = 0; WC_DETECT_MAP[WC_C_HZ_TILDA] = (ces == WC_CES_HZ_GB_2312) ? 1 : 0; +#ifdef USE_UNICODE WC_DETECT_MAP[WC_C_UTF7_PLUS] = (ces == WC_CES_UTF_7) ? 1 : 0; +#endif } detect_ces = ces; }