0
0
mirror of https://github.com/vim/vim.git synced 2025-09-15 23:23:38 -04:00

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)
This commit is contained in:
Bram Moolenaar 2013-05-04 03:42:34 +02:00
parent 4e0d974645
commit 29f49ee8d7
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
921,
/**/
920,
/**/