From 2eed9bafa013f278ffe8bcd52489f90b11cf00e1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 25 Jun 2019 23:40:29 +0200 Subject: [PATCH] patch 8.1.1594: may still start file dialog while exiting 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 | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 0eaa662b25..4126fe09f9 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3818,7 +3818,7 @@ do_ecmd( else { #ifdef FEAT_BROWSE - if (cmdmod.browse) + if (cmdmod.browse && !exiting) { if ( # ifdef FEAT_GUI diff --git a/src/version.c b/src/version.c index c25c1ff10c..3699629210 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1594, /**/ 1593, /**/