From 180fc2d41812c49b60224a1ca89945a002a090f5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 28 May 2016 13:28:10 +0200 Subject: patch 7.4.1851 Problem: test_syn_attr failes when using the GUI. (Dominique Pelle) Solution: Escape the font name properly. --- src/testdir/test_syn_attr.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/testdir/test_syn_attr.vim b/src/testdir/test_syn_attr.vim index 51674d0ee..fe6acaf6e 100644 --- a/src/testdir/test_syn_attr.vim +++ b/src/testdir/test_syn_attr.vim @@ -27,7 +27,7 @@ func Test_missing_attr() if fontname == '' let fontname = 'something' endif - exe 'hi Mine guifg=blue guibg=red font=' . escape(fontname, ' \') + exe "hi Mine guifg=blue guibg=red font='" . fontname . "'" call assert_equal('blue', synIDattr(hlID("Mine"), "fg", 'gui')) call assert_equal('red', synIDattr(hlID("Mine"), "bg", 'gui')) call assert_equal(fontname, synIDattr(hlID("Mine"), "font", 'gui')) diff --git a/src/version.c b/src/version.c index 80793f10b..73e08fafa 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1851, /**/ 1850, /**/ -- cgit v1.2.1