To: vim_dev@googlegroups.com Subject: Patch 8.1.2078 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///