summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 987c5b5df..e2dfa88ec 100644
--- a/src/option.c
+++ b/src/option.c
@@ -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;