From 3a401d5249a453f952086e7096499853961bb2f3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 25 Jan 2019 16:21:29 +0100 Subject: [PATCH] LibC: Oops, unbreak isprint() once again. --- LibC/ctype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibC/ctype.cpp b/LibC/ctype.cpp index 273260d01aa..a443db80cd8 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)