summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-07 21:07:59 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-07 21:07:59 +0000
commitd5bc83f576a26dd27fab558fdee472838b66bbb4 (patch)
tree6cb34a2983a9dc0883b2a9d6d6b3e6d13d80c207 /src/ex_cmds.c
parent4e330bbf216ca93827778c2dcc8aa1a8f053c9e1 (diff)
downloadvim-git-d5bc83f576a26dd27fab558fdee472838b66bbb4.tar.gz
updated for version 7.0164v7.0164
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index b6fab2c14..d1d3ae108 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3420,7 +3420,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
topline = curwin->w_topline;
if (!oldbuf) /* need to read the file */
{
-#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
+#if defined(HAS_SWAP_EXISTS_ACTION)
swap_exists_action = SEA_DIALOG;
#endif
curbuf->b_flags |= BF_CHECK_RO; /* set/reset 'ro' flag */
@@ -3435,7 +3435,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
(void)open_buffer(FALSE, eap);
#endif
-#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
+#if defined(HAS_SWAP_EXISTS_ACTION)
if (swap_exists_action == SEA_QUIT)
retval = FAIL;
handle_swap_exists(old_curbuf);