aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/ucs.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-05-23 11:34:09 +0000
committerDai Sato <satodai@w3m.jp>2007-05-23 11:34:09 +0000
commite67286c23ca100e3abc3aba9c21906436d836d63 (patch)
tree078d83c304afdc6e0ad44cfdaf891b0cf55ebfac /libwc/ucs.c
parentquote URLs with non-ASCII local directory names. [w3m-dev 04212] (diff)
downloadw3m-e67286c23ca100e3abc3aba9c21906436d836d63.tar.gz
w3m-e67286c23ca100e3abc3aba9c21906436d836d63.zip
[w3m-dev 04213] update Unicode charcters' width
Diffstat (limited to '')
-rw-r--r--libwc/ucs.c3
1 files changed, 2 insertions, 1 deletions
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