0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0210

This commit is contained in:
Bram Moolenaar
2006-03-01 00:01:28 +00:00
parent 03f4855fc2
commit e224ffa156
18 changed files with 194 additions and 107 deletions

View File

@@ -15612,7 +15612,7 @@ var2fpos(varp, lnum)
pos.col = get_tv_number(&li->li_tv);
len = (long)STRLEN(ml_get(pos.lnum));
if (pos.col <= 0 || ((len == 0 && pos.col > 1)
|| (len > 0 && pos.col > len)))
|| (len > 0 && (int)pos.col > len)))
return NULL; /* invalid column number */
pos.col--;