0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0e06

This commit is contained in:
Bram Moolenaar
2006-04-22 22:33:57 +00:00
parent 57657d85c6
commit eb3593b38b
49 changed files with 729 additions and 365 deletions

View File

@@ -3723,11 +3723,10 @@ error:
end:
if (allocated)
{
vim_free(insert_string);
if (regname == '=')
vim_free(y_array);
}
if (regname == '=')
vim_free(y_array);
/* If the cursor is past the end of the line put it at the end. */
if (gchar_cursor() == NUL
&& curwin->w_cursor.col > 0
@@ -4967,10 +4966,6 @@ do_addsub(command, Prenum1)
--col;
}
/* truncate to max length of a number */
if (length >= NUMBUFLEN - 1)
length = NUMBUFLEN - 2;
/*
* If a number was found, and saving for undo works, replace the number.
*/