From 484834c186dee281bcd13067d7b7bce1322b4e0b Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 6 Mar 2015 11:15:26 +0900 Subject: [PATCH] Fix a bug in the previous change forFcBlanksIsMember() --- src/fcblanks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fcblanks.c b/src/fcblanks.c index f163a8f..9ac0d5b 100644 --- a/src/fcblanks.c +++ b/src/fcblanks.c @@ -93,8 +93,7 @@ FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4) middle = (lower + higher) / 2; if (b->blanks[middle] == ucs4) return FcTrue; - if (middle == lower || - middle == higher) + if (lower == higher) break; if (b->blanks[middle] < ucs4) lower = middle + 1;