home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
editors
/
elv1beta
/
patch001
< prev
next >
Wrap
Text File
|
1993-08-08
|
736b
|
25 lines
*** vi.c~ Wed May 13 18:30:00 1992
--- vi.c Wed Sep 2 00:48:56 1992
***************
*** 669,674 ****
--- 669,687 ----
break;
}
+ /* CHANGE: adjust tcurs again. It may be two lines
+ * beyond EOF here, since it could have been beyond EOF
+ * before the adjustment above already. I might be
+ * better to avoid the adjustment above if tcurs was
+ * already at EOF, but I am not sure, and adjutsing
+ * again seems more general. --hp
+ *
+ * ...but not adjmove because that also `corrects'
+ * the column. -nox
+ */
+ if (markline(tcurs) > nlines)
+ tcurs = MARK_EOF;
+
/* run the function */
tcurs = (*vikeys[prevkey].func)(range, tcurs);
if (mode == MODE_VI)