commit | f31b764c23ae9a91cd6119f57aee6ea80ec480d2 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jan 20 20:44:43 2012 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jan 20 20:44:43 2012 +0100 |
tree | 534ff4ba7b47ee9789801b4e7f80fa2fef0e249e | |
parent | 3ef7cdf0fd040e7247bd395b51b107df0da081ef [diff] [blame] |
updated for version 7.3.407 Problem: ":12verbose call F()" may duplicate text while trying to truncate. (Thinca) Solution: Only truncate when there is not enough room. Also check the byte length of the buffer.
diff --git a/src/version.c b/src/version.c index 0b281a5..ccd583b 100644 --- a/src/version.c +++ b/src/version.c
@@ -715,6 +715,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 407, +/**/ 406, /**/ 405,