Bug 64476 - Typo in hb_set_t.get_min()
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 14 May 2013 19:30:55 +0000 (15:30 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 14 May 2013 19:30:55 +0000 (15:30 -0400)
Fixes previous commit's test.

src/hb-set-private.hh

index d59f248..adfa88f 100644 (file)
@@ -297,7 +297,7 @@ struct hb_set_t
   {
     for (unsigned int i = 0; i < ELTS; i++)
       if (elts[i])
-       for (unsigned int j = 0; i < BITS; j++)
+       for (unsigned int j = 0; j < BITS; j++)
          if (elts[i] & (1 << j))
            return i * BITS + j;
     return SENTINEL;