commit | df48fb456fb6bf63d94cad9b302ff01d8ee8d311 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 22 21:50:18 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 22 21:50:18 2016 +0200 |
tree | e40ac7facad1b205bf5990a535c8c1686fbeb05b | |
parent | 36edf0685c8b55ee3ce709058d83ada8027fec1e [diff] [blame] |
patch 7.4.2090 Problem: Using submatch() in a lambda passed to substitute() is verbose. Solution: Use a static list and pass it as an optional argument to the function. Fix memory leak.
diff --git a/src/version.c b/src/version.c index dccf2ce..e42229e 100644 --- a/src/version.c +++ b/src/version.c
@@ -759,6 +759,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2090, +/**/ 2089, /**/ 2088,