summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-24 22:34:33 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-24 22:34:33 +0200
commit015efc32c1add6269099364835ddf85ff257b3c6 (patch)
treed32524d1add71c48e94290fad6430af25dc99a16 /src
parent5b30291785e6b9be1a607504c14bd03c601b59a6 (diff)
downloadvim-git-7.4.2251.tar.gz
patch 7.4.2251v7.4.2251
Problem: In rare cases diffing 4 buffers is not enough. Solution: Raise the limit to 8. (closes #1000)
Diffstat (limited to 'src')
-rw-r--r--src/structs.h2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h
index 1dfe13129..e55922060 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2296,7 +2296,7 @@ struct file_buffer
/*
* Stuff for diff mode.
*/
-# define DB_COUNT 4 /* up to four buffers can be diff'ed */
+# define DB_COUNT 8 /* up to eight buffers can be diff'ed */
/*
* Each diffblock defines where a block of lines starts in each of the buffers
diff --git a/src/version.c b/src/version.c
index b3237715d..3c6d155d6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2251,
+/**/
2250,
/**/
2249,