[USE] Simplify `not_ccs_default_ignorable`

This commit is contained in:
David Corbett 2022-03-05 10:46:31 -05:00 committed by Behdad Esfahbod
parent 6e059a46b7
commit 854219e056
2 changed files with 2 additions and 2 deletions

View File

@ -618,7 +618,7 @@ HB_FUNCOBJ (machine_index);
static bool
not_ccs_default_ignorable (const hb_glyph_info_t &i)
{ return !(i.use_category() == USE(CGJ) && _hb_glyph_info_is_default_ignorable (&i)); }
{ return i.use_category() != USE(CGJ); }
static inline void
find_syllables_use (hb_buffer_t *buffer)

View File

@ -233,7 +233,7 @@ HB_FUNCOBJ (machine_index);
static bool
not_ccs_default_ignorable (const hb_glyph_info_t &i)
{ return !(i.use_category() == USE(CGJ) && _hb_glyph_info_is_default_ignorable (&i)); }
{ return i.use_category() != USE(CGJ); }
static inline void
find_syllables_use (hb_buffer_t *buffer)