0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.0-225

This commit is contained in:
Bram Moolenaar
2007-04-26 08:54:21 +00:00
parent 63b9254b8e
commit 87c1996491
3 changed files with 11 additions and 1 deletions

View File

@@ -14397,7 +14397,8 @@ f_setline(argvars, rettv)
if (u_savesub(lnum) == OK && ml_replace(lnum, line, TRUE) == OK)
{
changed_bytes(lnum, 0);
check_cursor_col();
if (lnum == curwin->w_cursor.lnum)
check_cursor_col();
rettv->vval.v_number = 0; /* OK */
}
}