summaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-23 21:26:58 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-23 21:26:58 +0000
commit80a94a582cd2d5307d1e65ec06fe0fb05f60d7c9 (patch)
treeaff2c0d22bf46c67d702d07b7ce0d160c09d7e23 /src/diff.c
parentd1f56e68f1315687ff5b913e2577f11b0b620573 (diff)
downloadvim-80a94a582cd2d5307d1e65ec06fe0fb05f60d7c9.zip
updated for version 7.0205
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/diff.c b/src/diff.c
index b28e127cc..d5cb97c4e 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -974,6 +974,9 @@ ex_diffpatch(eap)
#ifdef FEAT_GUI
need_mouse_correct = TRUE;
#endif
+ /* don't use a new tab page, each tab page has its own diffs */
+ cmdmod.tab = 0;
+
if (win_split(0, 0) != FAIL)
{
/* Pretend it was a ":split fname" command */
@@ -1031,6 +1034,9 @@ ex_diffsplit(eap)
#ifdef FEAT_GUI
need_mouse_correct = TRUE;
#endif
+ /* don't use a new tab page, each tab page has its own diffs */
+ cmdmod.tab = 0;
+
if (win_split(0, 0) != FAIL)
{
/* Pretend it was a ":split fname" command */