From fa3d0a0ce60a9fcf2b7f906dec916463b1319eda Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 14 May 2013 15:30:55 -0400 Subject: [PATCH] Bug 64476 - Typo in hb_set_t.get_min() Fixes previous commit's test. --- src/hb-set-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-set-private.hh b/src/hb-set-private.hh index d59f248c..adfa88f1 100644 --- a/src/hb-set-private.hh +++ b/src/hb-set-private.hh @@ -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; -- GitLab