diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicode/prop/uprop_get_hst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicode/prop/uprop_get_hst.c b/lib/unicode/prop/uprop_get_hst.c index 9ebfe1d..90d8d08 100644 --- a/lib/unicode/prop/uprop_get_hst.c +++ b/lib/unicode/prop/uprop_get_hst.c @@ -819,5 +819,5 @@ _MLIB_DEFINE_BSEARCH(enum uprop_hst, lookup, HST_NA) enum uprop_hst uprop_get_hst(rune ch) { - return ch < RUNE_C(0x1100) ? HST_NA : mlib_lookup(ch); + return ch < lookup[0].lo ? HST_NA : mlib_lookup(ch); } |