* Made multicolumn characters work in lines longer than the screen width in

visual mode (Bugreport by Matthew Fischer).
This commit is contained in:
Gunnar Ritter
2005-02-15 16:31:11 +00:00
parent 625b7e45f5
commit d1a3bb3efa
9 changed files with 82 additions and 32 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_re.c 1.44 (gritter) 1/9/05";
static char sccsid[] = "@(#)ex_re.c 1.45 (gritter) 2/13/05";
#endif
#endif
@@ -682,6 +682,12 @@ ovflo:
}
lp = loc2;
loc2 = sp + (linebuf - genbuf);
#ifdef UXRE
if (loc1 == lp) {
nextc(c, loc2, n);
loc2 += n;
}
#endif /* UXRE */
while (*sp++ = *lp++)
if (sp >= &genbuf[LBSIZE])
goto ovflo;