home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / apps / text_ed / elv16b2 / patch001 < prev    next >
Text File  |  1992-09-02  |  736b  |  25 lines

  1. *** vi.c~    Wed May 13 18:30:00 1992
  2. --- vi.c    Wed Sep  2 00:48:56 1992
  3. ***************
  4. *** 669,674 ****
  5. --- 669,687 ----
  6.                   break;
  7.               }
  8.   
  9. +             /* CHANGE: adjust tcurs again. It may be two lines
  10. +              * beyond EOF here, since it could have been beyond EOF
  11. +              * before the adjustment above already. I might be
  12. +              * better to avoid the adjustment above if tcurs was
  13. +              * already at EOF, but I am not sure, and adjutsing
  14. +              * again seems more general.    --hp
  15. +              *
  16. +              * ...but not adjmove because that also `corrects'
  17. +              * the column.  -nox
  18. +              */
  19. +             if (markline(tcurs) > nlines)
  20. +                 tcurs = MARK_EOF;
  21.               /* run the function */
  22.               tcurs = (*vikeys[prevkey].func)(range, tcurs);
  23.               if (mode == MODE_VI)
  24.