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

updated for version 7.0-181

This commit is contained in:
Bram Moolenaar
2007-01-09 14:37:01 +00:00
parent d675e2c513
commit 9460b9d215
2 changed files with 4 additions and 2 deletions

View File

@@ -6178,8 +6178,8 @@ move_lines(frombuf, tobuf)
if (retval != FAIL) if (retval != FAIL)
{ {
curbuf = frombuf; curbuf = frombuf;
while (!bufempty()) for (lnum = curbuf->b_ml.ml_line_count; lnum > 0; --lnum)
if (ml_delete(curbuf->b_ml.ml_line_count, FALSE) == FAIL) if (ml_delete(lnum, FALSE) == FAIL)
{ {
/* Oops! We could try putting back the saved lines, but that /* Oops! We could try putting back the saved lines, but that
* might fail again... */ * might fail again... */

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 */
/**/
181,
/**/ /**/
180, 180,
/**/ /**/