aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index a25e96657..82985ced0 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1802,7 +1802,7 @@ static Byte *yank_delete(Byte * start, Byte * stop, int dist, int yf)
1802 stop = p; 1802 stop = p;
1803 } 1803 }
1804 if (dist <= 0) { 1804 if (dist <= 0) {
1805 // we can not cross NL boundaries 1805 // we cannot cross NL boundaries
1806 p = start; 1806 p = start;
1807 if (*p == '\n') 1807 if (*p == '\n')
1808 return (p); 1808 return (p);