updated for version 7.4.596 v7.4.596
authorBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 12:33:23 +0000 (13:33 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 12:33:23 +0000 (13:33 +0100)
Problem:    Tiny build doesn't compile.  (Ike Devolder)
Solution:   Add #ifdef.

src/ex_cmds.c
src/version.c

index e18a752cb0360b7a08600fc4a200714a6227425d..897e6c39ac69786c8f83a978a5992b805260f5a0 100644 (file)
@@ -3530,11 +3530,13 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags, oldwin)
                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);
     }
index fcccaba7f69c2500959fdc552a997cb7cf2ac75e..5cb09f88555a76e79891d7a93411001e3c404637 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    596,
 /**/
     595,
 /**/