From 6cba8d4b6c41b6343f7f35e460506adb9907c87d Mon Sep 17 00:00:00 2001 From: Gunnar Ritter Date: Fri, 4 Feb 2005 18:52:28 +0000 Subject: [PATCH] anoter fix for the 'ic' case --- Changes | 5 +++-- ex_version.c | 4 ++-- ex_vput.c | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index d58f603..55ae250 100644 --- a/Changes +++ b/Changes @@ -9,8 +9,9 @@ Release ... * Made it work for Big5 locales (Patches by Matthew Fischer). * Fixed a problem with the 'r' command in EUC-JP and Big5 locales (Bugreport by Matthew Fischer). -* The insertion of multicolumn characters now works with terminals that have - the 'ic' but no 'im' termcap capability (Bugreport by Matthew Fischer). +* The insertion of multicolumn characters and tab characters in multibyte + locales now works with terminals that have the 'ic' but no 'im' termcap + capability (Bugreport by Matthew Fischer). Release 1/19/05 * The last release erroneously made 'X' work like 'x' in visual mode. It now diff --git a/ex_version.c b/ex_version.c index 86fb644..b92ed48 100644 --- a/ex_version.c +++ b/ex_version.c @@ -70,12 +70,12 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Sccsid @(#)ex_version.c 1.121 (gritter) 2/3/05 + * Sccsid @(#)ex_version.c 1.122 (gritter) 2/4/05 */ #include "ex.h" -static char *versionstring = "@(#)Version 4.0 (gritter) 2/3/05"; +static char *versionstring = "@(#)Version 4.0 (gritter) 2/4/05"; void printver(void) diff --git a/ex_vput.c b/ex_vput.c index 3b9688d..d7fe992 100644 --- a/ex_vput.c +++ b/ex_vput.c @@ -73,7 +73,7 @@ #ifndef lint #ifdef DOSCCS -static char sccsid[] = "@(#)ex_vput.c 1.46 (gritter) 2/3/05"; +static char sccsid[] = "@(#)ex_vput.c 1.47 (gritter) 2/4/05"; #endif #endif @@ -1396,7 +1396,7 @@ def: if (insmode && (!IM || !*IM)) #endif /* !notdef */ { - n = colsc(c); + n = colsc(c&TRIM); for (m = 0; m < n; m++) vputp(IC, DEPTH(vcline)); }