1
0
forked from aniani/vim

updated for version 7.1-249

This commit is contained in:
Bram Moolenaar
2008-02-13 14:21:38 +00:00
parent 0825043045
commit e3300c8887
2 changed files with 7 additions and 3 deletions

View File

@@ -1814,12 +1814,13 @@ u_undoline()
if (undo_off) if (undo_off)
return; return;
if (curbuf->b_u_line_ptr == NULL || if (curbuf->b_u_line_ptr == NULL
curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count) || curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
{ {
beep_flush(); beep_flush();
return; return;
} }
/* first save the line for the 'u' command */ /* first save the line for the 'u' command */
if (u_savecommon(curbuf->b_u_line_lnum - 1, if (u_savecommon(curbuf->b_u_line_lnum - 1,
curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL) curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL)
@@ -1840,6 +1841,7 @@ u_undoline()
curbuf->b_u_line_colnr = curwin->w_cursor.col; curbuf->b_u_line_colnr = curwin->w_cursor.col;
curwin->w_cursor.col = t; curwin->w_cursor.col = t;
curwin->w_cursor.lnum = curbuf->b_u_line_lnum; curwin->w_cursor.lnum = curbuf->b_u_line_lnum;
check_cursor_col();
} }
/* /*

View File

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