aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/ucs.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:24:02 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:24:02 +0000
commitd6d37ee0c991ead2b1613c0af242d2e603313d87 (patch)
treef54ef4313b0db75941e44bf480c5b9edfa16e208 /libwc/ucs.c
parentReleasing debian version 0.5.1-5.1 (diff)
downloadw3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.tar.gz
w3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.zip
Releasing debian version 0.5.2-1debian/0.5.2-1
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