Skip to content

Commit cc60b4e

Browse files
committed
updated for version 7.3.599
Problem: Missing change in one file. Solution: Patch for changed clip_autoselect().
1 parent c8ced8a commit cc60b4e

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

src/option.c

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7377,7 +7377,8 @@ check_stl_option(s)
73777377
check_clipboard_option()
73787378
{
73797379
int new_unnamed = 0;
7380-
int new_autoselect = FALSE;
7380+
int new_autoselect_star = FALSE;
7381+
int new_autoselect_plus = FALSE;
73817382
int new_autoselectml = FALSE;
73827383
int new_html = FALSE;
73837384
regprog_T *new_exclude_prog = NULL;
@@ -7398,13 +7399,19 @@ check_clipboard_option()
73987399
p += 11;
73997400
}
74007401
else if (STRNCMP(p, "autoselect", 10) == 0
7401-
&& (p[10] == ',' || p[10] == NUL))
7402+
&& (p[10] == ',' || p[10] == NUL))
74027403
{
7403-
new_autoselect = TRUE;
7404+
new_autoselect_star = TRUE;
74047405
p += 10;
74057406
}
7407+
else if (STRNCMP(p, "autoselectplus", 14) == 0
7408+
&& (p[14] == ',' || p[14] == NUL))
7409+
{
7410+
new_autoselect_plus = TRUE;
7411+
p += 14;
7412+
}
74067413
else if (STRNCMP(p, "autoselectml", 12) == 0
7407-
&& (p[12] == ',' || p[12] == NUL))
7414+
&& (p[12] == ',' || p[12] == NUL))
74087415
{
74097416
new_autoselectml = TRUE;
74107417
p += 12;
@@ -7433,7 +7440,8 @@ check_clipboard_option()
74337440
if (errmsg == NULL)
74347441
{
74357442
clip_unnamed = new_unnamed;
7436-
clip_autoselect = new_autoselect;
7443+
clip_autoselect_star = new_autoselect_star;
7444+
clip_autoselect_plus = new_autoselect_plus;
74377445
clip_autoselectml = new_autoselectml;
74387446
clip_html = new_html;
74397447
vim_free(clip_exclude_prog);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
599,
717719
/**/
718720
598,
719721
/**/

0 commit comments

Comments
 (0)