Fix a bug in the previous change forFcBlanksIsMember()
This commit is contained in:
parent
ed74a58ccc
commit
484834c186
|
@ -93,8 +93,7 @@ FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4)
|
||||||
middle = (lower + higher) / 2;
|
middle = (lower + higher) / 2;
|
||||||
if (b->blanks[middle] == ucs4)
|
if (b->blanks[middle] == ucs4)
|
||||||
return FcTrue;
|
return FcTrue;
|
||||||
if (middle == lower ||
|
if (lower == higher)
|
||||||
middle == higher)
|
|
||||||
break;
|
break;
|
||||||
if (b->blanks[middle] < ucs4)
|
if (b->blanks[middle] < ucs4)
|
||||||
lower = middle + 1;
|
lower = middle + 1;
|
||||||
|
|
Loading…
Reference in New Issue