Mercurial > vim
changeset 6539:6da912e32896 v7.4.596
updated for version 7.4.596
Problem: Tiny build doesn't compile. (Ike Devolder)
Solution: Add #ifdef.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 27 Jan 2015 13:33:23 +0100 |
parents | 08cbc3e11cb6 |
children | 781e6005524f |
files | src/ex_cmds.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3530,11 +3530,13 @@ do_ecmd(fnum, ffname, sfname, eap, newln check_fname() == FAIL) goto theend; +#ifdef FEAT_QUICKFIX /* ":e foobar" when already editing "foobar" will reload the file. * But when 'buftype' is "nofile" there is no file to load, so don't * do anything. */ if (curbuf->b_p_bt[0] == 'n' && curbuf->b_p_bt[2] == 'f') goto theend; +#endif oldbuf = (flags & ECMD_OLDBUF); }