LibC: Oops, unbreak isprint() once again.

This commit is contained in:
Andreas Kling 2019-01-25 16:21:29 +01:00
parent 6208cef154
commit 3a401d5249
Notes: sideshowbarker 2024-07-19 15:56:40 +09:00

View file

@ -9,7 +9,7 @@ int ispunct(int c)
int isprint(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) int isalnum(int c)