1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2018-08-20 22:53:04 +02:00
parent f1883479be
commit c26f7c6053
3 changed files with 14 additions and 2 deletions

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
303,
/**/
302,
/**/