[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed May 30 00:52:28 UTC 2018
src/hb-map-private.hh | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 4099c66f70e1acf89013215ab3add42b11e31fea
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue May 29 17:52:07 2018 -0700
[map] Don't return INVALID from get() just because in_error
diff --git a/src/hb-map-private.hh b/src/hb-map-private.hh
index 0db060c4..a9c8379e 100644
--- a/src/hb-map-private.hh
+++ b/src/hb-map-private.hh
@@ -147,7 +147,6 @@ struct hb_map_t
}
inline hb_codepoint_t get (hb_codepoint_t key) const
{
- if (unlikely (in_error)) return INVALID;
if (unlikely (!items)) return INVALID;
unsigned int i = bucket_for (key);
return items[i].key == key ? items[i].value : INVALID;
More information about the HarfBuzz
mailing list