summaryrefslogtreecommitdiff
path: root/Userland/Utilities/ls.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-03-09 17:37:16 +0000
committerAndreas Kling <kling@serenityos.org>2023-04-22 07:17:08 +0200
commit0f95ff64edf782e21cbd8bef7609b54238330c11 (patch)
tree35c9761237e13ba4e027fa1d80d1574b63f917a3 /Userland/Utilities/ls.cpp
parentee4e9b807ab6bf80bb460079f72e30d0d90d7f02 (diff)
downloadserenity-0f95ff64edf782e21cbd8bef7609b54238330c11.zip
Utilities: Replace ctype.h usage with AK/CharacterTypes.h
Diffstat (limited to 'Userland/Utilities/ls.cpp')
-rw-r--r--Userland/Utilities/ls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/ls.cpp b/Userland/Utilities/ls.cpp
index 2dc62560a5..d33788dafe 100644
--- a/Userland/Utilities/ls.cpp
+++ b/Userland/Utilities/ls.cpp
@@ -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 {