Mercurial > vim
diff src/ops.c @ 840:2c885fab04e3 v7.0e06
updated for version 7.0e06
author | vimboss |
---|---|
date | Sat, 22 Apr 2006 22:33:57 +0000 |
parents | 8bebcabccc2c |
children | d3bbb5dd3913 |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -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. */