Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jul 24, 2017
1 parent 81bdd6a commit c4f43bce7c43e5fe413e77b66b9805f3354fbb63
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/option.c
  2. +2 −0 src/version.c
View
@@ -7465,7 +7465,7 @@ did_set_string_option(
#ifdef FEAT_TERMINAL
/* 'termkey' */
else if (varp == &curwin->w_p_tms)
else if (varp == &curwin->w_p_tk)
{
if (*curwin->w_p_tk != NUL && string_to_key(curwin->w_p_tk, TRUE) == 0)
errmsg = e_invarg;
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
766,
/**/
765,
/**/

0 comments on commit c4f43bc

Please sign in to comment.