From: Bram Moolenaar Date: Sun, 12 Jun 2011 20:03:23 +0000 (+0200) Subject: updated for version 7.3.214 X-Git-Tag: v7.3.214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9758e37ee2a2aa75edfca8ddf39780b9b619dec;p=vim 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) --- diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 64c1371bd..43e861ae8 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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; diff --git a/src/version.c b/src/version.c index 7ae798422..235ae8026 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 214, /**/ 213, /**/