[iter] Fix hb_zip() end condition
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 9 May 2019 18:30:31 +0000 (11:30 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 9 May 2019 18:31:13 +0000 (11:31 -0700)
commit5da3c9c33f02010a3fc57cf0e1d07955af681e7c
tree7fed4b78e9cf16676eba1defb0fde7ecdf2287e0
parent57a5256fbcef6e5d29fc40cf019cc4b2c29c9dcf
[iter] Fix hb_zip() end condition

We should compare-equal to end if either iterator's end reaches,
not if both reach at the same time.  Fixes infinite-loop in test
which was happening after hb_enumerate() switched to using hb_zip().
src/hb-iter.hh