1
0
forked from aniani/vim

patch 8.1.1526: no numerical value for the patchlevel

Problem:    No numerical value for the patchlevel.
Solution:   Add v:versionlong.
This commit is contained in:
Bram Moolenaar
2019-06-14 14:39:51 +02:00
parent b53fb31a1e
commit 37df9a4401
5 changed files with 25 additions and 11 deletions

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1526,
/**/
1525,
/**/
@@ -3847,13 +3849,8 @@ static char *(extra_patches[]) =
int
highest_patch(void)
{
int i;
int h = 0;
for (i = 0; included_patches[i] != 0; ++i)
if (included_patches[i] > h)
h = included_patches[i];
return h;
// this relies on the highest patch number to be the first entry
return included_patches[0];
}
#if defined(FEAT_EVAL) || defined(PROTO)