diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-04-20 21:12:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-04-20 21:12:30 +0200 |
commit | a364cdb648ae009fa7aa05382f5659335683d349 (patch) | |
tree | db5a75a4f1ec522dcad792847f8ebe4813e6a355 /src/version.c | |
parent | c03944151fec2d5469746642a949c8fcb5a744a8 (diff) | |
download | vim-a364cdb648ae009fa7aa05382f5659335683d349.zip |
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.
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index c16976584..81b98c11f 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 571, +/**/ 570, /**/ 569, |