From 22e0a4753c04fe692b31969868549f66d112f055 Mon Sep 17 00:00:00 2001 From: Gunnar Ritter Date: Tue, 15 Feb 2005 16:40:38 +0000 Subject: [PATCH] * Made multicolumn characters work in lines longer than the screen width in visual mode (Bugreport by Matthew Fischer). --- ex_put.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ex_put.c b/ex_put.c index 0c886df..ad6a529 100644 --- a/ex_put.c +++ b/ex_put.c @@ -73,7 +73,7 @@ #ifndef lint #ifdef DOSCCS -static char sccsid[] = "@(#)ex_put.c 1.29 (gritter) 1/20/05"; +static char sccsid[] = "@(#)ex_put.c 1.30 (gritter) 2/15/05"; #endif #endif @@ -973,6 +973,7 @@ putch(int c) if (c == 0) return MULTICOL; } + c &= ~INVBIT; /* strip '~' | INVBIT multicolumn filler */ #ifdef MB if (mb_cur_max > 1 && c & ~(wchar_t)0177) { char mb[MB_LEN_MAX];