Fix too many characters are emojis now

This commit is contained in:
Nicolas Werner 2024-03-04 10:28:59 +01:00
parent e03fb71b08
commit a9ec130cbe
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -257,7 +257,7 @@ utils::codepointIsEmoji(uint code)
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) || return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
(code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f || (code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f ||
code == 0x231a || code == 0x231b || (code >= 0x23e9 && code <= 0x23ff) || code == 0x231a || code == 0x231b || (code >= 0x23e9 && code <= 0x23ff) ||
code >= 0x25aa || code == 0x25ab || code == 0x25b6 || code == 0x25c0 || code == 0x25aa || code == 0x25ab || code == 0x25b6 || code == 0x25c0 ||
(code >= 0x25fb && code <= 0x25fe) || (code >= 0x2460 && code <= 0x24ff); (code >= 0x25fb && code <= 0x25fe) || (code >= 0x2460 && code <= 0x24ff);
} }