mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0-181
This commit is contained in:
@@ -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... */
|
||||
|
Reference in New Issue
Block a user