mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-23 20:29:24 +00:00
fixed visual 'n' for very long lines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user