mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix CharPointer_UTF8::isWhitespace() when encountering ideographic whitespace
This commit is contained in:
parent
1a8fb3e540
commit
f052e1becb
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ public:
|
|||
}
|
||||
|
||||
/** Returns true if the first character of this string is whitespace. */
|
||||
bool isWhitespace() const noexcept { const CharType c = *data; return c == ' ' || (c <= 13 && c >= 9); }
|
||||
bool isWhitespace() const noexcept { return CharacterFunctions::isWhitespace ((juce_wchar) *(*this)); }
|
||||
/** Returns true if the first character of this string is a digit. */
|
||||
bool isDigit() const noexcept { const CharType c = *data; return c >= '0' && c <= '9'; }
|
||||
/** Returns true if the first character of this string is a letter. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue