]> granicus.if.org Git - vim/commitdiff
patch 8.1.1594: may still start file dialog while exiting v8.1.1594
authorBram Moolenaar <Bram@vim.org>
Tue, 25 Jun 2019 21:40:29 +0000 (23:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 25 Jun 2019 21:40:29 +0000 (23:40 +0200)
Problem:    May still start file dialog while exiting.
Solution:   Ignore the "browse" modifier in another place when exiiting.
            (Ozaki Kiichi, closes #4582)

src/ex_cmds.c
src/version.c

index 0eaa662b255c409a5789cb6b45c5a19f32836ebd..4126fe09f9632b6649d7c663fbc2ce4da0a2f054 100644 (file)
@@ -3818,7 +3818,7 @@ do_ecmd(
     else
     {
 #ifdef FEAT_BROWSE
-       if (cmdmod.browse)
+       if (cmdmod.browse && !exiting)
        {
            if (
 # ifdef FEAT_GUI
index c25c1ff10c5001ba323075467619b3d685ceefad..369962921039c37df67ca8fbcabf97dd1dc87b4d 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1594,
 /**/
     1593,
 /**/