1
0
forked from aniani/vim

updated for version 7.3.599

Problem:    Missing change in one file.
Solution:   Patch for changed clip_autoselect().
This commit is contained in:
Bram Moolenaar
2012-07-10 18:31:54 +02:00
parent cfa3caec0c
commit 89af439409
2 changed files with 15 additions and 5 deletions

View File

@@ -7377,7 +7377,8 @@ check_stl_option(s)
check_clipboard_option() check_clipboard_option()
{ {
int new_unnamed = 0; int new_unnamed = 0;
int new_autoselect = FALSE; int new_autoselect_star = FALSE;
int new_autoselect_plus = FALSE;
int new_autoselectml = FALSE; int new_autoselectml = FALSE;
int new_html = FALSE; int new_html = FALSE;
regprog_T *new_exclude_prog = NULL; regprog_T *new_exclude_prog = NULL;
@@ -7400,9 +7401,15 @@ check_clipboard_option()
else if (STRNCMP(p, "autoselect", 10) == 0 else if (STRNCMP(p, "autoselect", 10) == 0
&& (p[10] == ',' || p[10] == NUL)) && (p[10] == ',' || p[10] == NUL))
{ {
new_autoselect = TRUE; new_autoselect_star = TRUE;
p += 10; p += 10;
} }
else if (STRNCMP(p, "autoselectplus", 14) == 0
&& (p[14] == ',' || p[14] == NUL))
{
new_autoselect_plus = TRUE;
p += 14;
}
else if (STRNCMP(p, "autoselectml", 12) == 0 else if (STRNCMP(p, "autoselectml", 12) == 0
&& (p[12] == ',' || p[12] == NUL)) && (p[12] == ',' || p[12] == NUL))
{ {
@@ -7433,7 +7440,8 @@ check_clipboard_option()
if (errmsg == NULL) if (errmsg == NULL)
{ {
clip_unnamed = new_unnamed; clip_unnamed = new_unnamed;
clip_autoselect = new_autoselect; clip_autoselect_star = new_autoselect_star;
clip_autoselect_plus = new_autoselect_plus;
clip_autoselectml = new_autoselectml; clip_autoselectml = new_autoselectml;
clip_html = new_html; clip_html = new_html;
vim_free(clip_exclude_prog); vim_free(clip_exclude_prog);

View File

@@ -714,6 +714,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 */
/**/
599,
/**/ /**/
598, 598,
/**/ /**/