Skip to content

Commit c4f43bc

Browse files
committed
patch 8.0.0766: option test fails with +terminal feature
Problem: Option test fails with +terminal feature. Solution: Fix using the right option when checking the value.
1 parent 81bdd6a commit c4f43bc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/option.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7465,7 +7465,7 @@ did_set_string_option(
74657465

74667466
#ifdef FEAT_TERMINAL
74677467
/* 'termkey' */
7468-
else if (varp == &curwin->w_p_tms)
7468+
else if (varp == &curwin->w_p_tk)
74697469
{
74707470
if (*curwin->w_p_tk != NUL && string_to_key(curwin->w_p_tk, TRUE) == 0)
74717471
errmsg = e_invarg;

src/version.c

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

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
766,
772774
/**/
773775
765,
774776
/**/

0 commit comments

Comments
 (0)