forked from aniani/vim
updated for version 7.0d01
This commit is contained in:
@@ -16208,7 +16208,7 @@ var2fpos(varp, lnum, fnum)
|
||||
return NULL;
|
||||
len = (long)STRLEN(ml_get(pos.lnum));
|
||||
/* Accept a position up to the NUL after the line. */
|
||||
if (pos.col <= 0 || (int)pos.col > len + 1)
|
||||
if (pos.col == 0 || (int)pos.col > len + 1)
|
||||
return NULL; /* invalid column number */
|
||||
--pos.col;
|
||||
|
||||
|
Reference in New Issue
Block a user