mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibC: Fix broken isprint(). I had misunderstood what's considered printable.
This commit is contained in:
parent
faaa0dbf1d
commit
e683f611f1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ int ispunct(int c)
|
|||
|
||||
int isprint(int c)
|
||||
{
|
||||
return isdigit(c) || isupper(c) || islower(c) || ispunct(c) || isspace(c);
|
||||
return c >= 0x20 && c != 0x7f;
|
||||
}
|
||||
|
||||
int isalnum(int c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue