]> granicus.if.org Git - vim/commitdiff
patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions' v8.1.1514
authorBram Moolenaar <Bram@vim.org>
Mon, 10 Jun 2019 12:46:04 +0000 (14:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Jun 2019 12:46:04 +0000 (14:46 +0200)
Problem:    MS-Windows: wrong shell command with ! in 'guioptions'.
Solution:   Do not check for ! in 'guioptions' when applying 'shellxquote'.
            (Yasuhiro Matsumoto, closes #4519)

src/misc2.c
src/version.c

index 47b3c7299a32bde6b674ff8aa2ec1b9d62ad7c6a..2ac7f5e77cbc0d657d780ad79fc8185d48e92f0e 100644 (file)
@@ -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
        {
index 76b874e1b4a9a59b9a2e29161be0073872475fea..8420be6978456bdcb318a252e1a9c51d214914ed 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1514,
 /**/
     1513,
 /**/