Patch 8.1.2078
Problem:    Build error with +textprop but without +terminal. (Tony Mechelynck)
Solution:   Add #ifdef.
Files:      src/popupwin.c


*** ../vim-8.1.2077/src/popupwin.c      2019-09-25 22:14:26.698530906 +0200
--- src/popupwin.c      2019-09-25 22:43:14.294208936 +0200
***************
*** 1638,1648 ****
--- 1638,1650 ----
                semsg(_(e_nobufnr), argvars[0].vval.v_number);
                return NULL;
            }
+ #ifdef FEAT_TERMINAL
            if (buf->b_term != NULL)
            {
                emsg(_("E278: Cannot put a terminal buffer in a popup window"));
                return NULL;
            }
+ #endif
        }
        else if (!(argvars[0].v_type == VAR_STRING
                        && argvars[0].vval.v_string != NULL)
*** ../vim-8.1.2077/src/version.c       2019-09-25 22:36:57.300103046 +0200
--- src/version.c       2019-09-25 22:44:41.729779339 +0200
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     2078,
  /**/

-- 
"A mouse can be just as dangerous as a bullet or a bomb."
             (US Representative Lamar Smith, R-Texas)

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201909252046.x8PKkNRk009417%40masaka.moolenaar.net.

Raspunde prin e-mail lui