summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-04 10:28:59 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-04 10:28:59 +0100
commita9ec130cbe13706cdb1bba540b7ac4ece6057f0b (patch)
tree333d2237bbfc6f6e9d22ab2319083fd944f3da9d
parentForce emoji font on a few more characters (diff)
downloadnheko-a9ec130cbe13706cdb1bba540b7ac4ece6057f0b.tar.xz
Fix too many characters are emojis now
Diffstat (limited to '')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 9a725798..ff5dabac 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -257,7 +257,7 @@ utils::codepointIsEmoji(uint code)
     return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
            (code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f ||
            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);
 }