1
0
forked from aniani/vim

updated for version 7.2-226

This commit is contained in:
Bram Moolenaar
2009-07-09 18:06:49 +00:00
parent 13df0fea4b
commit cdcaa58929
7 changed files with 22 additions and 13 deletions

View File

@@ -7845,10 +7845,10 @@ ex_read(eap)
if (*ml_get(lnum) == NUL && u_savedel(lnum, 1L) == OK)
{
ml_delete(lnum, FALSE);
deleted_lines_mark(lnum, 1L);
if (curwin->w_cursor.lnum > 1
&& curwin->w_cursor.lnum >= lnum)
--curwin->w_cursor.lnum;
deleted_lines_mark(lnum, 1L);
}
}
redraw_curbuf_later(VALID);