Fix a bug in the previous change forFcBlanksIsMember()

This commit is contained in:
Akira TAGOH 2015-03-06 11:15:26 +09:00
parent ed74a58ccc
commit 484834c186
1 changed files with 1 additions and 2 deletions

View File

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