# HG changeset patch # User Bram Moolenaar # Date 1307909003 -7200 # Node ID d84a564f28c9e64c3c2a1689af0e0851bc7e5027 # Parent b23052d0a187acb2323c41cfe6a2a2a90efaaade 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 214, +/**/ 213, /**/ 212,