commit | a364cdb648ae009fa7aa05382f5659335683d349 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 20 21:12:30 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 20 21:12:30 2017 +0200 |
tree | db5a75a4f1ec522dcad792847f8ebe4813e6a355 | |
parent | c03944151fec2d5469746642a949c8fcb5a744a8 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index c169765..81b98c1 100644 --- a/src/version.c +++ b/src/version.c
@@ -765,6 +765,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 571, +/**/ 570, /**/ 569,