[map] Fix next()

pull/4009/head
Behdad Esfahbod 2 years ago
parent 35f46e74d1
commit 9420966f5b
  1. 2
      src/hb-map.hh

@ -375,7 +375,7 @@ struct hb_hashmap_t
unsigned i = (unsigned) (*idx + 1);
unsigned count = size ();
while (i <= count && !items[i].is_real ())
while (i < count && !items[i].is_real ())
i++;
if (i >= count)

Loading…
Cancel
Save