summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index d34c4b2f2..69c1f40cf 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4598,7 +4598,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
/*
* Handling of non-printable characters.
*/
- if (!(chartab[c & 0xff] & CT_PRINT_CHAR))
+ if (!vim_isprintc(c))
{
/*
* when getting a character from the file, we may have to