From 100f5c90f4d4fb40bc3aeabc35192db371f5988f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 6 Sep 2016 21:33:52 +0200 Subject: patch 7.4.2339 Problem: Tab page test fails when run as fake root. Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042) --- src/testdir/test_tabpage.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/testdir/test_tabpage.vim b/src/testdir/test_tabpage.vim index 0bf7d056de..4bee7956d7 100644 --- a/src/testdir/test_tabpage.vim +++ b/src/testdir/test_tabpage.vim @@ -195,7 +195,7 @@ function Test_tabpage_with_tab_modifier() exec 'tabnext ' . a:pre_nr exec a:cmd call assert_equal(a:post_nr, tabpagenr()) - call assert_equal('help', &filetype) + call assert_equal('help', &buftype) helpclose endfunc diff --git a/src/version.c b/src/version.c index 79628cba79..9214ce7d57 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2339, /**/ 2338, /**/ -- cgit v1.2.3