0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

updated for version 7.0055

This commit is contained in:
Bram Moolenaar
2005-03-04 23:39:37 +00:00
parent 7383034c0a
commit 19a09a1893
39 changed files with 5044 additions and 3475 deletions

View File

@@ -492,6 +492,8 @@ u_doit(count)
u_newcount = 0;
u_oldcount = 0;
if (curbuf->b_ml.ml_flags & ML_EMPTY)
u_oldcount = -1;
while (count--)
{
if (undo_undoes)
@@ -525,6 +527,8 @@ u_doit(count)
curbuf->b_u_curhead = curbuf->b_u_curhead->uh_prev;
}
}
if (curbuf->b_ml.ml_flags & ML_EMPTY)
--u_newcount;
u_undo_end();
}