mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 10:04:24 +01:00
[indic] Use lfind()
This commit is contained in:
1 parent
921b4e46b0
commit
63a716c540
1 file changed
+1
-4
@@ -310,10 +310,7 @@ static const hb_codepoint_t ra_chars[] = {
|
||||
static inline bool
|
||||
is_ra (hb_codepoint_t u)
|
||||
{
|
||||
for (unsigned int i = 0; i < ARRAY_LENGTH (ra_chars); i++)
|
||||
if (u == ra_chars[i])
|
||||
return true;
|
||||
return false;
|
||||
return hb_array (ra_chars).lfind (u);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
||||
Reference in new issue
Block a user