commit | c26f7c60532a37a2bf0a5e69aa81081b440dfc38 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 20 22:53:04 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 20 22:53:04 2018 +0200 |
tree | 4a717b3db6cc51d60cb286af087ee0e7e1eeba6a | |
parent | f1883479be91550bc31dd88f593b3012863a2629 [diff] [blame] |
patch 8.1.0303: line2byte() is wrong for last line with 'noeol' Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'. Solution: Fix off-by-one error. (Shane Harper, closes #3351)
diff --git a/src/version.c b/src/version.c index 42a81cc..d382ff3 100644 --- a/src/version.c +++ b/src/version.c
@@ -795,6 +795,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 303, +/**/ 302, /**/ 301,