Skip to content

Commit 6efbac6

Browse files
manoelramonintelBrian Baltz
authored and
Brian Baltz
committed
ATLEDGE-316 - isAlphaNumeric returns incorrect bool for '@'
1 parent 31e7561 commit 6efbac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/WCharacter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ inline int toUpperCase(int c)__attribute__((always_inline));
5151
// It is equivalent to (isalpha(c) || isdigit(c)).
5252
inline boolean isAlphaNumeric(int c)
5353
{
54-
return ( isalnum(c) == 0 ? false : true);
54+
return ( (isalnum(c) || isprint(c)) == 0 ? false : true);
5555
}
5656

5757

0 commit comments

Comments
 (0)