# HG changeset patch # User Bram Moolenaar # Date 1367631754 -7200 # Node ID 97474f967eec7f24f09d20dbac65ec9bb660bb2e # Parent 0b784e02304d052a1b8bb266fda41281e4476c49 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) diff --git a/src/syntax.c b/src/syntax.c --- 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 diff --git a/src/version.c b/src/version.c --- 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,