1
0
forked from aniani/vim

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)
{
curbuf = frombuf;
while (!bufempty())
if (ml_delete(curbuf->b_ml.ml_line_count, FALSE) == FAIL)
for (lnum = curbuf->b_ml.ml_line_count; lnum > 0; --lnum)
if (ml_delete(lnum, FALSE) == FAIL)
{
/* Oops! We could try putting back the saved lines, but that
* might fail again... */

View File

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