mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.1-166
This commit is contained in:
@@ -927,8 +927,8 @@ get_register(name, copy)
|
|||||||
int name;
|
int name;
|
||||||
int copy; /* make a copy, if FALSE make register empty. */
|
int copy; /* make a copy, if FALSE make register empty. */
|
||||||
{
|
{
|
||||||
static struct yankreg *reg;
|
struct yankreg *reg;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#ifdef FEAT_CLIPBOARD
|
#ifdef FEAT_CLIPBOARD
|
||||||
/* When Visual area changed, may have to update selection. Obtain the
|
/* When Visual area changed, may have to update selection. Obtain the
|
||||||
@@ -967,7 +967,7 @@ get_register(name, copy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Put "reg" into register "name". Free any previous contents.
|
* Put "reg" into register "name". Free any previous contents and "reg".
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
put_register(name, reg)
|
put_register(name, reg)
|
||||||
@@ -977,6 +977,7 @@ put_register(name, reg)
|
|||||||
get_yank_register(name, 0);
|
get_yank_register(name, 0);
|
||||||
free_yank_all();
|
free_yank_all();
|
||||||
*y_current = *(struct yankreg *)reg;
|
*y_current = *(struct yankreg *)reg;
|
||||||
|
vim_free(reg);
|
||||||
|
|
||||||
# ifdef FEAT_CLIPBOARD
|
# ifdef FEAT_CLIPBOARD
|
||||||
/* Send text written to clipboard register to the clipboard. */
|
/* Send text written to clipboard register to the clipboard. */
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
166,
|
||||||
/**/
|
/**/
|
||||||
165,
|
165,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user