diff src/screen.c @ 7697:f04e2b6feea2 v7.4.1147

commit https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 20 22:48:02 2016 +0100 patch 7.4.1147 Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c.
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jan 2016 23:00:12 +0100
parents d3892f6c917e
children 0b6c37dd858d
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -4598,7 +4598,7 @@ win_line(wp, lnum, startrow, endrow, noc
 	    /*
 	     * 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