diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-25 16:21:29 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-25 16:21:29 +0100 |
commit | 3a401d5249a453f952086e7096499853961bb2f3 (patch) | |
tree | aa7f8a3da195629a35304a1a9ae8026ba2713c85 /LibC/ctype.cpp | |
parent | 6208cef1541024c3b1d6816464792daf57b620db (diff) | |
download | serenity-3a401d5249a453f952086e7096499853961bb2f3.zip |
LibC: Oops, unbreak isprint() once again.
Diffstat (limited to 'LibC/ctype.cpp')
-rw-r--r-- | LibC/ctype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/ctype.cpp b/LibC/ctype.cpp index 273260d01a..a443db80cd 100644 --- a/LibC/ctype.cpp +++ b/LibC/ctype.cpp @@ -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) |