1
0
forked from aniani/vim

updated for version 7.2-297

This commit is contained in:
Bram Moolenaar
2009-11-17 11:43:06 +00:00
parent 34ef52dd56
commit cde547a8f3
2 changed files with 11 additions and 1 deletions

View File

@@ -3991,6 +3991,14 @@ ex_display(eap)
}
else
yb = &(y_regs[i]);
#ifdef FEAT_EVAL
if (name == MB_TOLOWER(redir_reg)
|| (redir_reg == '"' && yb == y_previous))
continue; /* do not list register being written to, the
* pointer can be freed */
#endif
if (yb->y_array != NULL)
{
msg_putchar('\n');
@@ -6090,7 +6098,7 @@ str_to_reg(y_ptr, type, str, len, blocklen)
long maxlen;
#endif
if (y_ptr->y_array == NULL) /* NULL means emtpy register */
if (y_ptr->y_array == NULL) /* NULL means empty register */
y_ptr->y_size = 0;
/*