[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed May 30 00:27:48 UTC 2018
src/hb-map-private.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f76c4a7708773eca7a2b8c7ff47f8b5ade5ca0d9
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue May 29 17:27:25 2018 -0700
[map] Make initial resize actually work
diff --git a/src/hb-map-private.hh b/src/hb-map-private.hh
index 64bcffc2..d0909b59 100644
--- a/src/hb-map-private.hh
+++ b/src/hb-map-private.hh
@@ -123,7 +123,7 @@ struct hb_map_t
{
if (unlikely (in_error)) return;
if (unlikely (key == INVALID)) return;
- if ((occupancy + occupancy / 2) > mask && !resize ()) return;
+ if ((occupancy + occupancy / 2) >= mask && !resize ()) return;
unsigned int i = bucket_for (key);
if (value == INVALID && items[i].key != key)
More information about the HarfBuzz
mailing list