# HG changeset patch # User Bram Moolenaar # Date 1560171606 -7200 # Node ID 70933f7b5de46580e5e854dc5c51f914fa2fd421 # Parent 7fe42541f4d5e32e428747beff7b91a11b50ea02 patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions' commit https://github.com/vim/vim/commit/01257a7a8e231904ff73fae1f7783e0b6eb4d5aa Author: Bram Moolenaar Date: Mon Jun 10 14:46:04 2019 +0200 patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions' Problem: MS-Windows: wrong shell command with ! in 'guioptions'. Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. (Yasuhiro Matsumoto, closes #4519) diff --git a/src/misc2.c b/src/misc2.c --- a/src/misc2.c +++ b/src/misc2.c @@ -3251,15 +3251,7 @@ call_shell(char_u *cmd, int opt) /* The external command may update a tags file, clear cached tags. */ tag_freematch(); - if (cmd == NULL || *p_sxq == NUL -#if defined(FEAT_GUI_MSWIN) && defined(FEAT_TERMINAL) - || ( -# ifdef VIMDLL - gui.in_use && -# endif - vim_strchr(p_go, GO_TERMINAL) != NULL) -#endif - ) + if (cmd == NULL || *p_sxq == NUL) retval = mch_call_shell(cmd, opt); else { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1514, +/**/ 1513, /**/ 1512,