Mercurial > vim
changeset 17028:70933f7b5de4 v8.1.1514
patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions'
commit https://github.com/vim/vim/commit/01257a7a8e231904ff73fae1f7783e0b6eb4d5aa
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Jun 2019 15:00:06 +0200 |
parents | 7fe42541f4d5 |
children | 959f0016be06 |
files | src/misc2.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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 {