summaryrefslogtreecommitdiff
path: root/src/version.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-27 13:51:01 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-27 13:51:01 +0200
commit8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452 (patch)
tree6db68b0ac9014edf9132e43935b2099036990daf /src/version.c
parente85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 (diff)
downloadvim-git-8.0.1004.tar.gz
patch 8.0.1004: matchstrpos() without a match returns too many itemsv8.0.1004
Problem: Matchstrpos() without a match returns too many items. Solution: Also remove the second item when the position is beyond the end of the string. (Hirohito Higashi) Use an enum for the type.
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index 16d310df5..477389507 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1004,
+/**/
1003,
/**/
1002,