mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
revert isAlphabetic change
This commit is contained in:
parent
f02872542f
commit
bb5fd0cee2
@ -67,12 +67,7 @@ bool isLatinLetter(const uint32_t cp) {
|
||||
|
||||
bool isCyrillicLetter(const uint32_t cp) { return (cp >= 0x0400 && cp <= 0x052F); }
|
||||
|
||||
bool isAlphabetic(const uint32_t cp) {
|
||||
if (isLatinLetter(cp) || isCyrillicLetter(cp) || isAsciiDigit(cp)) {
|
||||
return true;
|
||||
}
|
||||
return cp > 0x7F && !isPunctuation(cp);
|
||||
}
|
||||
bool isAlphabetic(const uint32_t cp) { return isLatinLetter(cp) || isCyrillicLetter(cp); }
|
||||
|
||||
bool isPunctuation(const uint32_t cp) {
|
||||
switch (cp) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user