summaryrefslogtreecommitdiff
path: root/usr.bin/less/line.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/less/line.c')
-rw-r--r--usr.bin/less/line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/line.c b/usr.bin/less/line.c
index 217da04d4ef..aa1a2b834fc 100644
--- a/usr.bin/less/line.c
+++ b/usr.bin/less/line.c
@@ -242,7 +242,7 @@ pshift(int shift)
}
continue;
}
- if (!IS_ASCII_OCTET(c) && utf_mode) {
+ if (utf_mode && !isascii(c)) {
wchar_t ch;
/*
* Before this point, UTF-8 validity was already