From 29f49ee8d728ab77229351662b3345ed8591dd09 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 4 May 2013 03:42:34 +0200 Subject: [PATCH] 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) --- src/syntax.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/syntax.c b/src/syntax.c index 8e2930cf50..4c697698c9 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -8082,6 +8082,7 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip, free_font) || 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, free_font) || do_tooltip # endif ); + } if (HL_TABLE()[idx].sg_fontset != NOFONTSET) { /* If it worked and it's the Normal group, use it as the normal diff --git a/src/version.c b/src/version.c index 0811257c49..89a6e22dcb 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 921, /**/ 920, /**/