From: Bram Moolenaar Date: Tue, 9 Jan 2007 14:37:01 +0000 (+0000) Subject: updated for version 7.0-181 X-Git-Tag: v7.0.181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9460b9d215821472ac18ec2a1d51b0c76c6f3cf0;p=thirdparty%2Fvim.git updated for version 7.0-181 --- diff --git a/src/fileio.c b/src/fileio.c index abbe1e7a0d..2108bb87db 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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... */ diff --git a/src/version.c b/src/version.c index 05e088f97d..434059de2f 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 181, /**/ 180, /**/