• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisionbdfbf8ef447a4fabef09ee9d28eedcf0e6b99e57 (tree)
Time2008-02-13 23:21:38
Authorvimboss
Commitervimboss

Log Message

updated for version 7.1-249

Change Summary

Incremental Difference

diff -r 8abc0abf8cbd -r bdfbf8ef447a src/undo.c
--- a/src/undo.c Wed Feb 13 11:42:46 2008 +0000
+++ b/src/undo.c Wed Feb 13 14:21:38 2008 +0000
@@ -1814,13 +1814,14 @@
18141814 if (undo_off)
18151815 return;
18161816
1817- if (curbuf->b_u_line_ptr == NULL ||
1818- curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
1817+ if (curbuf->b_u_line_ptr == NULL
1818+ || curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
18191819 {
18201820 beep_flush();
18211821 return;
18221822 }
1823- /* first save the line for the 'u' command */
1823+
1824+ /* first save the line for the 'u' command */
18241825 if (u_savecommon(curbuf->b_u_line_lnum - 1,
18251826 curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL)
18261827 return;
@@ -1840,6 +1841,7 @@
18401841 curbuf->b_u_line_colnr = curwin->w_cursor.col;
18411842 curwin->w_cursor.col = t;
18421843 curwin->w_cursor.lnum = curbuf->b_u_line_lnum;
1844+ check_cursor_col();
18431845 }
18441846
18451847 /*
diff -r 8abc0abf8cbd -r bdfbf8ef447a src/version.c
--- a/src/version.c Wed Feb 13 11:42:46 2008 +0000
+++ b/src/version.c Wed Feb 13 14:21:38 2008 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 249,
671+/**/
670672 248,
671673 /**/
672674 247,
Show on old repository browser