Mercurial > vim
diff src/ex_cmds.c @ 580:90ee46d7f492 v7.0164
updated for version 7.0164
author | vimboss |
---|---|
date | Wed, 07 Dec 2005 21:07:59 +0000 |
parents | bdbdec22a225 |
children | 3686831cf3da |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3420,7 +3420,7 @@ do_ecmd(fnum, ffname, sfname, eap, newln 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, newln (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);