commit | 17a13437c9414a8693369a97f3be2fc8ad48c12e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 24 14:22:10 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 24 14:22:10 2016 +0100 |
tree | a1250326988b8caa9aebee164dd7f53392682d63 | |
parent | 9e3be26872307f9c53a9f37647a659091bdffb1f [diff] [blame] |
patch 7.4.1163 Problem: Expressions "0 + v:true" and "'' . v:true" cause an error. Solution: Return something sensible when using a special variable as a number or as a string. (suggested by Damien)
diff --git a/src/version.c b/src/version.c index 9d5e984..60cb07c 100644 --- a/src/version.c +++ b/src/version.c
@@ -742,6 +742,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1163, +/**/ 1162, /**/ 1161,