fixed visual 'n' for very long lines

This commit is contained in:
Gunnar Ritter
2005-08-06 11:41:15 +00:00
parent 5e1eca3ce2
commit 6070ff258f
9 changed files with 42 additions and 31 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_vadj.c 1.15 (gritter) 8/6/05";
static char sccsid[] = "@(#)ex_vadj.c 1.16 (gritter) 8/6/05";
#endif
#endif
@@ -192,7 +192,8 @@ vreopen(int p, int lineno, int l)
* necessary to determine which way to go.
*/
vigoto(p, 0);
pline(lineno, WCOLS*WLINES);
if (pline(lineno, WCOLS*WLINES) == 1)
vp->vflags |= VLONG;
/*
* When we are typing part of a line for hardcopy open, don't