1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

Utilities: Replace ctype.h usage with AK/CharacterTypes.h

This commit is contained in:
Sam Atkins 2023-03-09 17:37:16 +00:00 committed by Andreas Kling
parent ee4e9b807a
commit 0f95ff64ed
14 changed files with 51 additions and 41 deletions

View file

@ -211,7 +211,7 @@ static int print_escaped(StringView name)
}
for (auto c : name) {
if (isprint(c)) {
if (is_ascii_printable(c)) {
putchar(c);
printed++;
} else {