[indic] Use lfind()
This commit is contained in:
parent
921b4e46b0
commit
63a716c540
|
@ -310,10 +310,7 @@ static const hb_codepoint_t ra_chars[] = {
|
||||||
static inline bool
|
static inline bool
|
||||||
is_ra (hb_codepoint_t u)
|
is_ra (hb_codepoint_t u)
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < ARRAY_LENGTH (ra_chars); i++)
|
return hb_array (ra_chars).lfind (u);
|
||||||
if (u == ra_chars[i])
|
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in New Issue