Remove unnecessary extra test for combinig characters
There are not combining characters with a non-zero combining class that are not in the marks category.
This commit is contained in:
parent
9125c00f96
commit
33ed873997
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
static inline bool
|
||||
is_combining_char(uint32_t ch) {
|
||||
return uc_combining_class(ch) != UC_CCC_NR || uc_is_general_category_withtable(ch, UC_CATEGORY_MASK_Mc | UC_CATEGORY_MASK_Me | UC_CATEGORY_MASK_Mn);
|
||||
return uc_is_general_category_withtable(ch, UC_CATEGORY_MASK_Mc | UC_CATEGORY_MASK_Me | UC_CATEGORY_MASK_Mn);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue