changeset 4344:97474f967eec v7.3.921

updated for version 7.3.921 Problem: Trying to create a fontset handle when 'guifontset' is not set. Solution: Add curly braces around the code block. (Max Kirillov)
author Bram Moolenaar <bram@vim.org>
date Sat, 04 May 2013 03:42:34 +0200
parents 0b784e02304d
children 9183b4efda2e
files src/syntax.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -8082,6 +8082,7 @@ hl_do_font(idx, arg, do_normal, do_menu,
 	|| do_tooltip
 #  endif
 	    )
+    {
 	if (free_font)
 	    gui_mch_free_fontset(HL_TABLE()[idx].sg_fontset);
 	HL_TABLE()[idx].sg_fontset = fontset_name2handle(arg, 0
@@ -8092,6 +8093,7 @@ hl_do_font(idx, arg, do_normal, do_menu,
 		|| do_tooltip
 #  endif
 		);
+    }
     if (HL_TABLE()[idx].sg_fontset != NOFONTSET)
     {
 	/* If it worked and it's the Normal group, use it as the normal
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    921,
+/**/
     920,
 /**/
     919,