0
0
mirror of https://github.com/vim/vim.git synced 2025-09-07 22:03:36 -04:00

updated for version 7.3.214

Problem:    The text displayed by ":z-" isn't exactly like old Vi.
Solution:   Add one to the start line number. (ChangZhuo Chen)
This commit is contained in:
Bram Moolenaar 2011-06-12 22:03:23 +02:00
parent 6ec154b57d
commit d9758e37ee
2 changed files with 4 additions and 2 deletions

View File

@ -4097,8 +4097,8 @@ ex_z(eap)
switch (*kind)
{
case '-':
start = lnum - bigness * (linenr_T)(x - kind);
end = start + bigness;
start = lnum - bigness * (linenr_T)(x - kind) + 1;
end = start + bigness - 1;
curs = end;
break;

View File

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