# HG changeset patch # User Bram Moolenaar # Date 1560018605 -7200 # Node ID 63b3e1c80175f69853c60479a54415cc897fe943 # Parent 7eaf8a6452c32cdbd9982522644f0b744d63b6f6 patch 8.1.1500: wrong shell command when building with VIMDLL and "!" in 'go' commit https://github.com/vim/vim/commit/21f8d93c7184e69aa76a5caa1d3869b6226189e0 Author: Bram Moolenaar Date: Sat Jun 8 20:17:18 2019 +0200 patch 8.1.1500: wrong shell command when building with VIMDLL and "!" in 'go' Problem: Wrong shell command when building with VIMDLL and "!" in 'guioptions'. Solution: Add check for GUI in use. (Ken Takata) diff --git a/src/misc2.c b/src/misc2.c --- a/src/misc2.c +++ b/src/misc2.c @@ -3253,7 +3253,11 @@ call_shell(char_u *cmd, int opt) if (cmd == NULL || *p_sxq == NUL #if defined(FEAT_GUI_MSWIN) && defined(FEAT_TERMINAL) - || vim_strchr(p_go, GO_TERMINAL) != NULL + || ( +# ifdef VIMDLL + gui.in_use && +# endif + vim_strchr(p_go, GO_TERMINAL) != NULL) #endif ) retval = mch_call_shell(cmd, opt); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1500, +/**/ 1499, /**/ 1498,