src/hb-map-private.hh | 1 - 1 file changed, 1 deletion(-) New commits: commit 4099c66f70e1acf89013215ab3add42b11e31fea Author: Behdad Esfahbod <beh...@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; _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz