From e67286c23ca100e3abc3aba9c21906436d836d63 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Wed, 23 May 2007 11:34:09 +0000 Subject: [w3m-dev 04213] update Unicode charcters' width --- libwc/ucs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libwc/ucs.c') diff --git a/libwc/ucs.c b/libwc/ucs.c index b9dfec3..2534b5a 100644 --- a/libwc/ucs.c +++ b/libwc/ucs.c @@ -522,7 +522,8 @@ wc_is_ucs_wide(wc_uint32 ucs) return (wc_map_range_search((wc_uint16)ucs, ucs_wide_map, N_ucs_wide_map) != NULL); else - return ((ucs & ~0xFFFF) == WC_C_UCS4_PLANE2); + return ((ucs & ~0xFFFF) == WC_C_UCS4_PLANE2 || + (ucs & ~0xFFFF) == WC_C_UCS4_PLANE3); } wc_bool -- cgit v1.2.3