Patch 8.0.0766
Problem:    Option test fails with +terminal feature.
Solution:   Fix using the right option when checking the value.
Files:      src/option.c


*** ../vim-8.0.0765/src/option.c        2017-07-23 22:56:56.196681386 +0200
--- src/option.c        2017-07-24 19:54:28.716135625 +0200
***************
*** 7465,7471 ****
  
  #ifdef FEAT_TERMINAL
      /* 'termkey' */
!     else if (varp == &curwin->w_p_tms)
      {
        if (*curwin->w_p_tk != NUL && string_to_key(curwin->w_p_tk, TRUE) == 0)
            errmsg = e_invarg;
--- 7465,7471 ----
  
  #ifdef FEAT_TERMINAL
      /* 'termkey' */
!     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;
*** ../vim-8.0.0765/src/version.c       2017-07-23 22:56:56.196681386 +0200
--- src/version.c       2017-07-24 19:55:28.539718198 +0200
***************
*** 771,772 ****
--- 771,774 ----
  {   /* Add new patch number below this line */
+ /**/
+     766,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
229. You spend so much time thinking what to add on this list.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui