1
0
forked from aniani/vim

patch 8.0.0571: negative line number when using :z^ in an empty buffer

Problem:    The cursor line number becomes negative when using :z^ in an empty
            buffer. (neovim #6557)
Solution:   Correct the line number.  Also reset the column.
This commit is contained in:
Bram Moolenaar
2017-04-20 21:12:30 +02:00
parent c03944151f
commit a364cdb648
3 changed files with 17 additions and 2 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
571,
/**/
570,
/**/