[map] Fix next()

This commit is contained in:
Behdad Esfahbod 2023-01-05 10:17:24 -07:00
parent 35f46e74d1
commit 9420966f5b
1 changed files with 1 additions and 1 deletions

View File

@ -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)