We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (('A' <= ch && ch <= 'Z') || ('a' <= ch && ch <= 'z') || (0x00AA == ch || 0x00B5 == ch || 0x00BA == ch) || (0x00C0 <= ch && ch <= 0x00D6) || (0x00D8 <= ch && ch <= 0x00F6) || (0x00F8 <= ch && ch <= 0x0236) || (0x0250 <= ch || ch <= 0x02C1)) return unicode_character_type::aletter;
from here https://github.com/cnjinhao/nana/blob/master/source/unicode_bidi.cpp#L979.
shouldn't it be (0x0250 <= ch && ch <= 0x02C1) instead of (0x0250 <= ch || ch <= 0x02C1)?
The text was updated successfully, but these errors were encountered:
Thank you for pointing out this bug!
Sorry, something went wrong.
fix for cnjinhao#440 (unicode_bidi aletter always true)
0e8328e
0809e60
No branches or pull requests
from here https://github.com/cnjinhao/nana/blob/master/source/unicode_bidi.cpp#L979.
shouldn't it be (0x0250 <= ch && ch <= 0x02C1) instead of (0x0250 <= ch || ch <= 0x02C1)?
The text was updated successfully, but these errors were encountered: