From 8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 27 Aug 2017 13:51:01 +0200 Subject: patch 8.0.1004: matchstrpos() without a match returns too many items 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. --- src/version.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/version.c') diff --git a/src/version.c b/src/version.c index 16d310df5..477389507 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1004, /**/ 1003, /**/ -- cgit v1.2.1