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

updated for version 7.2-324

This commit is contained in:
Bram Moolenaar
2009-12-31 12:18:30 +00:00
parent 281daf62aa
commit 742d1ecd17
3 changed files with 6 additions and 1 deletions

View File

@@ -15542,7 +15542,8 @@ f_setpos(argvars, rettv)
{
if (list2fpos(&argvars[1], &pos, &fnum) == OK)
{
--pos.col;
if (--pos.col < 0)
pos.col = 0;
if (name[0] == '.' && name[1] == NUL)
{
/* set cursor */

View File

@@ -528,6 +528,8 @@ check_cursor_col()
#endif
}
}
else if (curwin->w_cursor.col < 0)
curwin->w_cursor.col = 0;
#ifdef FEAT_VIRTUALEDIT
/* If virtual editing is on, we can leave the cursor on the old position,

View File

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